Commit b3971d0f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Change default project view for user from readme to files view

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent b1864604
......@@ -35,9 +35,9 @@ module PreferencesHelper
def project_view_choices
[
['Readme (default)', :readme],
['Readme', :readme],
['Activity view', :activity],
['Files view', :files]
['Files and Readme (default)', :files]
]
end
......
......@@ -21,6 +21,7 @@ class User < ActiveRecord::Base
default_value_for :can_create_team, false
default_value_for :hide_no_ssh_key, false
default_value_for :hide_no_password, false
default_value_for :project_view, :files
attr_encrypted :otp_secret,
key: Gitlab::Application.secrets.otp_key_base,
......
---
title: Change default project view for user from readme to files view
merge_request: 9584
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment