From 67be774b7a18b8210295ba7564d6f9ad8fd5b542 Mon Sep 17 00:00:00 2001 From: zhitomirskiyi Date: Wed, 5 Jan 2011 15:35:40 -0800 Subject: [PATCH] setting the comment --- app/mailers/notifier.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/mailers/notifier.rb b/app/mailers/notifier.rb index b55e6f75d..48a428ab5 100644 --- a/app/mailers/notifier.rb +++ b/app/mailers/notifier.rb @@ -49,6 +49,7 @@ class Notifier < ActionMailer::Base def comment_on_post(recipient_id, sender_id, comment) @receiver = User.find_by_id(recipient_id) @sender = Person.find_by_id(sender_id) + @comment = comment log_mail(recipient_id, sender_id, 'comment_on_post')