Class: TbCoreMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- TbCoreMailer
- Defined in:
- app/mailers/tb_core_mailer.rb
Instance Method Summary collapse
Instance Method Details
#forgot_password_notification(user, url) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/mailers/tb_core_mailer.rb', line 5 def forgot_password_notification(user, url) @user = user @url = url mail( to: to_address_for_user(user), subject: default_i18n_subject(site_name: TbCore.site_name) ) end |
#user_credentials(user, password) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'app/mailers/tb_core_mailer.rb', line 14 def user_credentials(user, password) @user = user @password = password mail( to: to_address_for_user(user), subject: default_i18n_subject(site_name: TbCore.site_name) ) end |