Class: Commontator::SubscriptionsMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Commontator::SubscriptionsMailer
- Includes:
- CommentsHelper, ThreadsHelper
- Defined in:
- app/mailers/commontator/subscriptions_mailer.rb
Instance Method Summary collapse
Methods included from ThreadsHelper
#closer_name, #commontable_id, #commontable_name
Methods included from CommentsHelper
#comment_timestamp, #commontator_name, #deleter_name, #gravatar_image, #gravatar_url
Instance Method Details
#comment_created_email(comment, commontable_url) ⇒ Object
6 7 8 9 10 11 |
# File 'app/mailers/commontator/subscriptions_mailer.rb', line 6 def comment_created_email(comment, commontable_url) setup_variables(comment, commontable_url) mail(:bcc => @bcc, :subject => @subject) \ unless @bcc.empty? end |