Class: PasswordsMailer

Inherits:
ApplicationMailer show all
Defined in:
app/mailers/passwords_mailer.rb

Instance Method Summary collapse

Instance Method Details

#reset(user) ⇒ Object



2
3
4
5
# File 'app/mailers/passwords_mailer.rb', line 2

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