Class: PasswordsMailer

Inherits:
ApplicationMailer
  • Object
show all
Defined in:
lib/rails/generators/rails/authentication/templates/mailers/passwords_mailer.rb

Instance Method Summary collapse

Instance Method Details

#reset(user) ⇒ Object



2
3
4
5
# File 'lib/rails/generators/rails/authentication/templates/mailers/passwords_mailer.rb', line 2

def reset(user)
  @user = user
  mail subject: "Reset your password", to: user.email_address
end