summaryrefslogtreecommitdiff
path: root/app/helpers/notifications_helper.rb
diff options
context:
space:
mode:
authorMark Chao <mchao@gitlab.com>2018-07-23 10:42:19 +0800
committerMark Chao <mchao@gitlab.com>2018-08-14 14:59:29 +0800
commit8411d1cffc05171e82d727d883f03e279c8e9e05 (patch)
treeb09d87417123465509e43306dbba0da3d2abf640 /app/helpers/notifications_helper.rb
parentbea52d827e895c9261b3b1e01980832832f7c82a (diff)
downloadgitlab-ce-8411d1cffc05171e82d727d883f03e279c8e9e05.tar.gz
Add email_events to replace EMAIL_EVENTS because it needs to be dynamic,
allowing override for EE.
Diffstat (limited to 'app/helpers/notifications_helper.rb')
-rw-r--r--app/helpers/notifications_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb
index 3e42063224e..7ff201a321b 100644
--- a/app/helpers/notifications_helper.rb
+++ b/app/helpers/notifications_helper.rb
@@ -83,7 +83,7 @@ module NotificationsHelper
end
def notification_event_name(event)
- # All values from NotificationSetting::EMAIL_EVENTS
+ # All values from NotificationSetting.email_events
case event
when :success_pipeline
s_('NotificationEvent|Successful pipeline')