Orbit/app/mailer/user_mailer.rb

10 lines
236 B
Ruby
Raw Permalink 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