blob: 6f17f812605f096ad74bd0151ea53eddc810916b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
module Refinery
module Blog
class CommentMailer < ActionMailer::Base
def notification(comment, request)
@blog_comment = comment
mail :subject => Blog::Comment::Notification.subject,
:recipients => Blog::Comment::Notification.recipients,
:from => "\"#{Refinery::Core.config.site_name}\" <no-reply@#{request.domain}>"
end
end
end
end
|