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 |
# File 'app/mailers/tb_core_mailer.rb', line 5 def forgot_password_notification(user, url) @user = user @url = url mail(:from =>Spud::Core.from_address, :to => to_address_for_user(user), :subject => default_i18n_subject(:site_name => Spud::Core.site_name)) end |
#user_credentials(user, password) ⇒ Object
11 12 13 14 15 |
# File 'app/mailers/tb_core_mailer.rb', line 11 def user_credentials(user, password) @user = user @password = password mail(:from => Spud::Core.from_address, :to => to_address_for_user(user), :subject => default_i18n_subject(:site_name => Spud::Core.site_name)) end |