Class: UserMailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
lib/generators/authpro/templates/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#password_reset(user) ⇒ Object



4
5
6
7
# File 'lib/generators/authpro/templates/user_mailer.rb', line 4

def password_reset(user)
  @user = user
  mail to: user.email, subject: "Password Reset"
end