diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-19 22:35:23 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-19 22:35:23 +0300 |
commit | 992dbbd9fe619ab3002f7c0c552657da8269df49 (patch) | |
tree | 5ae59f108ffe8d208928e7d2c2265018e033ad26 /app/mailers/emails/issues.rb | |
parent | a8a861ae2a122b310d1aca6f9f9b1d0601b8c49f (diff) |
Move `sent_notification!` out of Notify.
Diffstat (limited to 'app/mailers/emails/issues.rb')
-rw-r--r-- | app/mailers/emails/issues.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/mailers/emails/issues.rb b/app/mailers/emails/issues.rb index c8b7775c328..2c035fbb70b 100644 --- a/app/mailers/emails/issues.rb +++ b/app/mailers/emails/issues.rb @@ -9,7 +9,7 @@ module Emails to: recipient(recipient_id), subject: subject("#{@issue.title} (##{@issue.iid})")) - sent_notification!(@issue, recipient_id) + SentNotification.record(@issue, recipient_id, reply_key) end def reassigned_issue_email(recipient_id, issue_id, previous_assignee_id, updated_by_user_id) @@ -22,7 +22,7 @@ module Emails to: recipient(recipient_id), subject: subject("#{@issue.title} (##{@issue.iid})")) - sent_notification!(@issue, recipient_id) + SentNotification.record(@issue, recipient_id, reply_key) end def closed_issue_email(recipient_id, issue_id, updated_by_user_id) @@ -35,7 +35,7 @@ module Emails to: recipient(recipient_id), subject: subject("#{@issue.title} (##{@issue.iid})")) - sent_notification!(@issue, recipient_id) + SentNotification.record(@issue, recipient_id, reply_key) end def issue_status_changed_email(recipient_id, issue_id, status, updated_by_user_id) @@ -49,7 +49,7 @@ module Emails to: recipient(recipient_id), subject: subject("#{@issue.title} (##{@issue.iid})")) - sent_notification!(@issue, recipient_id) + SentNotification.record(@issue, recipient_id, reply_key) end end end |