diff options
author | Jason Lee <huacnlee@gmail.com> | 2015-12-30 18:26:28 +0800 |
---|---|---|
committer | Jason Lee <huacnlee@gmail.com> | 2015-12-31 11:50:54 +0800 |
commit | 94d0b15aca4282d4edba8bca3902e88478803521 (patch) | |
tree | f5ab9eedb0dabe40ee47544119ee15dd7443bbe2 | |
parent | 01824a0fac17331c7eacf40feb6882c508fe4880 (diff) | |
download | gitlab-ce-94d0b15aca4282d4edba8bca3902e88478803521.tar.gz |
Fix email reply with a note.
SentNotification need use `record_note` method to save right noteable
-rw-r--r-- | app/mailers/emails/notes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/emails/notes.rb b/app/mailers/emails/notes.rb index 65f37e92677..e1382d2da12 100644 --- a/app/mailers/emails/notes.rb +++ b/app/mailers/emails/notes.rb @@ -48,7 +48,7 @@ module Emails yield - SentNotification.record(@note, recipient_id, reply_key) + SentNotification.record_note(@note, recipient_id, reply_key) end end end |