Class: UserMailer

Inherits:
ApplicationMailer show all
Defined in:
lib/generators/auth/templates/mailers/user_mailer.rb

Instance Method Summary collapse

Instance Method Details

#password_reset(user) ⇒ Object



2
3
4
5
# File 'lib/generators/auth/templates/mailers/user_mailer.rb', line 2

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