Sha256: d3a08eef522043fd2113f2b0308e7ce5c664cee512ce398e097c77c65f64070a

Contents?: true

Size: 388 Bytes

Versions: 4

Compression:

Stored size: 388 Bytes

Contents

module Refinery
  module Blog
    class CommentMailer < ActionMailer::Base

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

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-blog-2.0.3 app/mailers/refinery/blog/comment_mailer.rb
refinerycms-blog-2.0.2 app/mailers/refinery/blog/comment_mailer.rb
refinerycms-blog-2.0.1 app/mailers/refinery/blog/comment_mailer.rb
refinerycms-blog-2.0.0 app/mailers/refinery/blog/comment_mailer.rb