diff options
author | Phil Hughes <me@iamphill.com> | 2016-05-27 17:56:43 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-07 17:02:00 +0300 |
commit | e141a1c6f14df7b83cbb24190f9786b6fc36cd49 (patch) | |
tree | 1f042c33fb651c89c945ba2ad647fb572e3c4442 /app/models/notification_setting.rb | |
parent | 3fd0b364ea54832a861482d609bd25d485d5ac9c (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.rb | 2 |
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] |