Add missing subject for wall comment

This commit is contained in:
Dmitriy Zaporozhets 2012-12-30 20:26:09 +02:00
parent 82ae973a99
commit 0a2ac8371d

View file

@ -88,7 +88,7 @@ class Notify < ActionMailer::Base
def note_wall_email(recipient_id, note_id) def note_wall_email(recipient_id, note_id)
@note = Note.find(note_id) @note = Note.find(note_id)
@project = @note.project @project = @note.project
mail(to: recipient(recipient_id), subject: subject) mail(to: recipient(recipient_id), subject: subject("note on wall"))
end end