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>2022-09-08 06:12:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-09-08 06:12:12 +0300
commit2e2957367a311963930ea30bc2087a3018772fba (patch)
treecdd7f98ae114b35ac9d03de82a7ff46e4ca1ff7e /app/mailers
parent1a35cd021a02aec1cf98dac843359837e3a1affd (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 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