summaryrefslogtreecommitdiff
path: root/app/controllers/profiles
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-10 03:23:28 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-13 17:59:11 -0400
commit2bc4fd2d047c1c4c4637f045ed3a51d414359c2a (patch)
tree6d35070e6889fad85e508facb1c853552909a77e /app/controllers/profiles
parent35339bb11f2c410b91a5e8b9ae1d2fef19cac695 (diff)
downloadgitlab-ce-2bc4fd2d047c1c4c4637f045ed3a51d414359c2a.tar.gz
Add `dashboard` attribute to User model
Diffstat (limited to 'app/controllers/profiles')
-rw-r--r--app/controllers/profiles/preferences_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/profiles/preferences_controller.rb b/app/controllers/profiles/preferences_controller.rb
index 8b2630d1648..e43a247f725 100644
--- a/app/controllers/profiles/preferences_controller.rb
+++ b/app/controllers/profiles/preferences_controller.rb
@@ -26,6 +26,7 @@ class Profiles::PreferencesController < Profiles::ApplicationController
def preferences_params
params.require(:user).permit(
:color_scheme_id,
+ :dashboard,
:theme_id
)
end