Class: ReviseAuth::Mailer
- Inherits:
-
ApplicationMailer
- Object
- ApplicationMailer
- ReviseAuth::Mailer
- Defined in:
- app/mailers/revise_auth/mailer.rb
Instance Method Summary collapse
Instance Method Details
#confirm_email ⇒ Object
2 3 4 5 6 7 |
# File 'app/mailers/revise_auth/mailer.rb', line 2 def confirm_email @user = params[:user] @token = params[:token] mail to: @user.unconfirmed_email end |
#password_reset ⇒ Object
9 10 11 12 13 14 |
# File 'app/mailers/revise_auth/mailer.rb', line 9 def password_reset @user = params[:user] @token = params[:token] mail to: @user.email end |