Class: Formol::SubscriptionMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Formol::SubscriptionMailer
- Defined in:
- app/mailers/formol/subscription_mailer.rb
Instance Method Summary collapse
Instance Method Details
#topic_reply(post, subscriber) ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/mailers/formol/subscription_mailer.rb', line 5 def topic_reply(post, subscriber) @post = post mail( :to => subscriber.email, :subject => "New reply: #{post.topic.title}", :layout => 'formol/mail') end |