Class: KnockOnce::PasswordResetMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- KnockOnce::PasswordResetMailer
- Defined in:
- app/mailers/knock_once/password_reset_mailer.rb
Instance Method Summary collapse
Instance Method Details
#password_reset(user, token) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/mailers/knock_once/password_reset_mailer.rb', line 5 def password_reset(user, token) @user = user @token = token mail( to: @user.email, subject: 'Forgot password request') end |