Class: Geri::AdminUserMailer
- Inherits:
-
ApplicationMailer
- Object
- ActionMailer::Base
- ApplicationMailer
- Geri::AdminUserMailer
- Defined in:
- app/mailers/geri/admin_user_mailer.rb
Instance Method Summary collapse
Instance Method Details
#reset_password_email(admin_user) ⇒ Object
4 5 6 7 8 |
# File 'app/mailers/geri/admin_user_mailer.rb', line 4 def reset_password_email(admin_user) @admin_user = admin_user @url = admin_edit_reset_password_url(admin_user.reset_password_token) mail to: admin_user.email, subject: "#{Geri::Config.site_name}: Password Reset" end |