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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-11 15:09:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-11 15:09:28 +0300
commit7ca44446277ca15db60b722da28f98f773b8f61a (patch)
tree7622f430d0431df78dfa34f50efc371458cfb97f /app/mailers
parent3ba6a5a16df690246d30bff1038cbed36a16a493 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/previews/notify_preview.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/mailers/previews/notify_preview.rb b/app/mailers/previews/notify_preview.rb
index dee91789f50..36c6f2f6c79 100644
--- a/app/mailers/previews/notify_preview.rb
+++ b/app/mailers/previews/notify_preview.rb
@@ -60,6 +60,10 @@ class NotifyPreview < ActionMailer::Preview
end
end
+ def new_mention_in_merge_request_email
+ Notify.new_mention_in_merge_request_email(user.id, issue.id, user.id).message
+ end
+
def closed_issue_email
Notify.closed_issue_email(user.id, issue.id, user.id).message
end