Class: Sooner::SubscribersMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Sooner::SubscribersMailer
- Defined in:
- app/mailers/sooner/subscribers_mailer.rb
Instance Method Summary collapse
-
#subscribed(user) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:.
Instance Method Details
#subscribed(user) ⇒ Object
Subject can be set in your I18n file at config/locales/en.yml with the following lookup:
en.subscribers_mailer.subscribed.subject
10 11 12 13 14 |
# File 'app/mailers/sooner/subscribers_mailer.rb', line 10 def subscribed(user) @greeting = "Hi" mail to: user.email end |