10 lines
		
	
	
		
			236 B
		
	
	
	
		
			Ruby
		
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
		
			236 B
		
	
	
	
		
			Ruby
		
	
	
	
| 
								 | 
							
								class UserMailer < Devise::Mailer
							 | 
						||
| 
								 | 
							
								 default :from => "noreply@rulingcom.com"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								 def password_reset(user, password)
							 | 
						||
| 
								 | 
							
								   @user = user
							 | 
						||
| 
								 | 
							
								   @password = password
							 | 
						||
| 
								 | 
							
								  mail(:to => user.email,
							 | 
						||
| 
								 | 
							
								     :subject => 'Password Reset Notification')
							 | 
						||
| 
								 | 
							
								  end
							 | 
						||
| 
								 | 
							
								end
							 |