Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Lee <huacnlee@gmail.com>2015-12-30 13:26:28 +0300
committerJason Lee <huacnlee@gmail.com>2015-12-31 06:50:54 +0300
commit94d0b15aca4282d4edba8bca3902e88478803521 (patch)
treef5ab9eedb0dabe40ee47544119ee15dd7443bbe2
parent01824a0fac17331c7eacf40feb6882c508fe4880 (diff)
Fix email reply with a note.
SentNotification need use `record_note` method to save right noteable
-rw-r--r--app/mailers/emails/notes.rb2
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