Notification recipients should be specified using :to instead of :recipients. Fixes #226.

This commit is contained in:
Uģis Ozols 2012-04-19 17:42:03 +03:00
parent 01fa464c33
commit 6cbf130c83

View file

@ -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