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
7 8 9 10 11 12 13 14 |
# File 'app/mailers/tb_core_mailer.rb', line 7 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
16 17 18 19 20 21 22 23 |
# File 'app/mailers/tb_core_mailer.rb', line 16 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 |