From 18065463e6808d03532cab64546cc10f246a55fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Thu, 19 Apr 2012 17:42:03 +0300 Subject: Notification recipients should be specified using :to instead of :recipients. Fixes #226. --- app/mailers/refinery/blog/comment_mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/mailers') diff --git a/app/mailers/refinery/blog/comment_mailer.rb b/app/mailers/refinery/blog/comment_mailer.rb index d868354..69a7da4 100644 --- a/app/mailers/refinery/blog/comment_mailer.rb +++ b/app/mailers/refinery/blog/comment_mailer.rb @@ -5,7 +5,7 @@ module Refinery 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}\" " end -- cgit v1.2.3