aboutsummaryrefslogblamecommitdiffstats
path: root/app/mailers/refinery/blog/comment_mailer.rb
blob: 69a7da4e172b9217e2702d91fd3da2b4e5eb3f2e (plain) (tree)
1
2
3
4
5
6
7
8
9




                                            
                          
                                                             
                                                           
                                                                                    




         
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