orbit-basic/app/mailer/user_mailer.rb

10 lines
236 B
Ruby
Raw Normal View History

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