Class: StandardId::PasswordResetMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- StandardId::PasswordResetMailer
- Defined in:
- app/mailers/standard_id/password_reset_mailer.rb
Instance Method Summary collapse
Instance Method Details
#reset_email ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'app/mailers/standard_id/password_reset_mailer.rb', line 5 def reset_email @reset_url = params[:reset_url] @email = params[:email] mail( to: @email, from: StandardId.config.reset_password.mailer_from, subject: StandardId.config.reset_password.mailer_subject ) end |