diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-08 03:12:12 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-08 03:12:12 +0000 |
commit | 2e2957367a311963930ea30bc2087a3018772fba (patch) | |
tree | cdd7f98ae114b35ac9d03de82a7ff46e4ca1ff7e /app/mailers | |
parent | 1a35cd021a02aec1cf98dac843359837e3a1affd (diff) | |
download | gitlab-ce-2e2957367a311963930ea30bc2087a3018772fba.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/previews/notify_preview.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/mailers/previews/notify_preview.rb b/app/mailers/previews/notify_preview.rb index be8d96012cc..7dfb62dc973 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 user_cap_reached + Notify.user_cap_reached(user.id).message + end + def new_mention_in_merge_request_email Notify.new_mention_in_merge_request_email(user.id, issue.id, user.id).message end |