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:
authorPhil Hughes <me@iamphill.com>2016-05-27 17:56:43 +0300
committerPhil Hughes <me@iamphill.com>2016-06-07 17:02:00 +0300
commite141a1c6f14df7b83cbb24190f9786b6fc36cd49 (patch)
tree1f042c33fb651c89c945ba2ad647fb572e3c4442 /app/models/notification_setting.rb
parent3fd0b364ea54832a861482d609bd25d485d5ac9c (diff)
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]