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