aboutsummaryrefslogtreecommitdiffstats
path: root/app/mailers
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-04-19 17:42:03 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2012-04-19 17:42:03 +0300
commit18065463e6808d03532cab64546cc10f246a55fc (patch)
treef8dff475a4aa9ac67528092247417651a1f727f1 /app/mailers
parent8b8ce1f21bbdde6a9e26adfb7169fb22d819fbc2 (diff)
downloadrefinerycms-blog-18065463e6808d03532cab64546cc10f246a55fc.tar.gz
refinerycms-blog-18065463e6808d03532cab64546cc10f246a55fc.tar.bz2
refinerycms-blog-18065463e6808d03532cab64546cc10f246a55fc.zip
Notification recipients should be specified using :to instead of :recipients. Fixes #226.
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/refinery/blog/comment_mailer.rb2
1 files changed, 1 insertions, 1 deletions
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}\" <no-reply@#{request.domain}>"
end