Class: ForgotPasswordMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- ForgotPasswordMailer
- Defined in:
- app/models/forgot_password_mailer.rb
Instance Method Summary collapse
Instance Method Details
#reset_password(link, email) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'app/models/forgot_password_mailer.rb', line 3 def reset_password(link, email) @subject = "Account Management" @body[:url] = link @recipients = email @from = '[email protected]' @sent_on = Time.now template "cms/forgot_password_mailer/reset_password" end |