Class: Cortex::PasswordResetMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- Cortex::PasswordResetMailer
- Defined in:
- app/mailers/cortex/password_reset_mailer.rb
Instance Method Summary collapse
-
#send_password_reset(params = {}) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:.
Instance Method Details
#send_password_reset(params = {}) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:
en.password_reset_mailer.send_password_reset.subject
8 9 10 11 |
# File 'app/mailers/cortex/password_reset_mailer.rb', line 8 def send_password_reset(params = {}) @password = params[:password] mail to: params[:email], subject: "Cortex CMS Password Reset" end |