summaryrefslogtreecommitdiff
path: root/app/models/notification_setting.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-27 15:56:43 +0100
committerPhil Hughes <me@iamphill.com>2016-06-07 15:02:00 +0100
commite141a1c6f14df7b83cbb24190f9786b6fc36cd49 (patch)
tree1f042c33fb651c89c945ba2ad647fb572e3c4442 /app/models/notification_setting.rb
parent3fd0b364ea54832a861482d609bd25d485d5ac9c (diff)
downloadgitlab-ce-e141a1c6f14df7b83cbb24190f9786b6fc36cd49.tar.gz
Notifications dropdown on project page now has descriptions
This is part of #12758
Diffstat (limited to 'app/models/notification_setting.rb')
-rw-r--r--app/models/notification_setting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/notification_setting.rb b/app/models/notification_setting.rb
index 5001738f411..17fb15b08df 100644
--- a/app/models/notification_setting.rb
+++ b/app/models/notification_setting.rb
@@ -1,5 +1,5 @@
class NotificationSetting < ActiveRecord::Base
- enum level: { disabled: 0, participating: 1, watch: 2, global: 3, mention: 4 }
+ enum level: { global: 3, watch: 2, mention: 4, participating: 1, disabled: 0 }
default_value_for :level, NotificationSetting.levels[:global]