Sha256: b1880d963e143fe6fe3a5f9b03c94ba48a9387ba276d403786d34b3b99391b6f

Contents?: true

Size: 375 Bytes

Versions: 14

Compression:

Stored size: 375 Bytes

Contents

class Blog::CommentMailer < ActionMailer::Base

  def notification(comment, request)
    subject     BlogComment::Notification.subject
    recipients  BlogComment::Notification.recipients
    from        "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
    sent_on     Time.now
    @comment =  comment
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
refinerycms-blog-1.6.2 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.6.1 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.6.0 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.5.2 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.5.1 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.5.0 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.4.0 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.3.2 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.3.1 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.3 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.2 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.1 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.0.1 app/mailers/blog/comment_mailer.rb
refinerycms-blog-1.0.rc16 app/mailers/blog/comment_mailer.rb