Class: UserMailer
- Defined in:
- app/models/user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#password_reset_instructions(user) ⇒ Object
4 5 6 7 8 9 10 |
# File 'app/models/user_mailer.rb', line 4 def password_reset_instructions(user) subject Spree::Config[:site_name] + ' ' + I18n.t("password_reset_instructions") from Spree::Config[:mails_from] recipients user.email sent_on Time.now body :edit_password_reset_url => edit_password_reset_url(user.perishable_token) end |