setting the comment
This commit is contained in:
parent
82852db5ec
commit
67be774b7a
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ class Notifier < ActionMailer::Base
|
||||||
def comment_on_post(recipient_id, sender_id, comment)
|
def comment_on_post(recipient_id, sender_id, comment)
|
||||||
@receiver = User.find_by_id(recipient_id)
|
@receiver = User.find_by_id(recipient_id)
|
||||||
@sender = Person.find_by_id(sender_id)
|
@sender = Person.find_by_id(sender_id)
|
||||||
|
@comment = comment
|
||||||
|
|
||||||
log_mail(recipient_id, sender_id, 'comment_on_post')
|
log_mail(recipient_id, sender_id, 'comment_on_post')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue