summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorCristian Bica <cristian.bica@gmail.com>2015-10-01 17:05:20 +0300
committerCristian Bica <cristian.bica@gmail.com>2015-10-01 17:05:20 +0300
commitc5280434399ee489eebda254b2d246252df68f2b (patch)
tree4a208c29c40202d5341534e5f822aea120d3a2b1 /app/models/user.rb
parent2e8a3e3996f47a5b436bce9a6bbb61ca0a351cab (diff)
downloadgitlab-ce-c5280434399ee489eebda254b2d246252df68f2b.tar.gz
Allow users to select the Files view as default project view
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 3879f3fd381..f7a1589f5d0 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -176,7 +176,7 @@ class User < ActiveRecord::Base
# User's Project preference
# Note: When adding an option, it MUST go on the end of the array.
- enum project_view: [:readme, :activity]
+ enum project_view: [:readme, :activity, :files]
alias_attribute :private_token, :authentication_token