summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorElias Werberich <elias@werberich.de>2018-03-27 12:16:12 +0000
committerDouwe Maan <douwe@gitlab.com>2018-03-27 12:16:12 +0000
commit2308ab7a9f0e3efcc1c3a21626aaffc6207cf1aa (patch)
tree41cd53be894a970bb0521aa7c30cac5ae5a3e3f8 /app/models/user.rb
parent463fe4062dacb5e124a24d245fb921b91f6d499b (diff)
downloadgitlab-ce-2308ab7a9f0e3efcc1c3a21626aaffc6207cf1aa.tar.gz
'Assigned Issues' and 'Assigned Merge Requests' as dashboard user choices
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index fa54581d220..187878f4fb5 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -187,7 +187,7 @@ class User < ActiveRecord::Base
# User's Dashboard preference
# Note: When adding an option, it MUST go on the end of the array.
- enum dashboard: [:projects, :stars, :project_activity, :starred_project_activity, :groups, :todos]
+ enum dashboard: [:projects, :stars, :project_activity, :starred_project_activity, :groups, :todos, :issues, :merge_requests]
# User's Project preference
# Note: When adding an option, it MUST go on the end of the array.