Sha256: b0f78166d82ccd5d5a06be30c129584eb445f2e1e2b6ce24cf58a6406f58c847

Contents?: true

Size: 380 Bytes

Versions: 6

Compression:

Stored size: 380 Bytes

Contents

module Refinery
  module Blog
    class CommentMailer < ActionMailer::Base

      def notification(comment, request)
        @comment = comment
        mail :subject => Blog::Comment::Notification.subject,
             :to => Blog::Comment::Notification.recipients,
             :from => "\"#{Refinery::Core.site_name}\" <no-reply@#{request.domain}>"
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-blog-4.0.0 app/mailers/refinery/blog/comment_mailer.rb
refinerycms-blog-3.0.2 app/mailers/refinery/blog/comment_mailer.rb
refinerycms-blog-3.0.1 app/mailers/refinery/blog/comment_mailer.rb
refinerycms-blog-2.1.0 app/mailers/refinery/blog/comment_mailer.rb
refinerycms-blog-2.0.5 app/mailers/refinery/blog/comment_mailer.rb
refinerycms-blog-2.0.4 app/mailers/refinery/blog/comment_mailer.rb