setting the comment

This commit is contained in:
zhitomirskiyi 2011-01-05 15:35:40 -08:00
parent 82852db5ec
commit 67be774b7a

View file

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