Class: TypusMailer
- Defined in:
- app/models/typus_mailer.rb
Instance Method Summary collapse
Instance Method Details
#reset_password_link(user) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/models/typus_mailer.rb', line 5 def reset_password_link(user) @subject = "[#{Typus::Configuration.[:app_name]}] #{_("Reset password")}" @body = { :user => user } @recipients = user.email @from = Typus::Configuration.[:email] @sent_on = Time.now @headers = {} end |