Class: Commontator::SubscriptionsMailer

Inherits:
ActionMailer::Base
  • Object
show all
Includes:
SharedHelper, ThreadsHelper
Defined in:
app/mailers/commontator/subscriptions_mailer.rb

Instance Method Summary collapse

Methods included from ThreadsHelper

#commontable_name

Methods included from SharedHelper

#commontator_email, #commontator_gravatar_image, #commontator_gravatar_url, #commontator_name, #commontator_thread

Instance Method Details

#comment_created(comment, recipients) ⇒ Object



6
7
8
9
10
11
12
13
# File 'app/mailers/commontator/subscriptions_mailer.rb', line 6

def comment_created(comment, recipients)
  setup_variables(comment, recipients)

  mail :to => 'Undisclosed Recipients',
       :bcc => @bcc,
       :from => @from,
       :subject => @subject
end