Browse files

Notification recipients should be specified using :to instead of :rec…

…ipients. Fixes #226.
  • Loading branch information...
1 parent 8b8ce1f commit 18065463e6808d03532cab64546cc10f246a55fc @ugisozols ugisozols committed Apr 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/mailers/refinery/blog/comment_mailer.rb
View
2 app/mailers/refinery/blog/comment_mailer.rb
@@ -5,7 +5,7 @@ class CommentMailer < ActionMailer::Base
def notification(comment, request)
@comment = comment
mail :subject => Blog::Comment::Notification.subject,
- :recipients => Blog::Comment::Notification.recipients,
+ :to => Blog::Comment::Notification.recipients,
:from => "\"#{Refinery::Core.site_name}\" <no-reply@#{request.domain}>"
end

0 comments on commit 1806546

Please sign in to comment.