diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-05 13:57:01 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-13 17:58:16 -0400 |
commit | 0c0c31ff34b3010c2c269ec56ef48dd305c6f74a (patch) | |
tree | bc9bfe8512f3a7abc694f77bdd4824ed7d80b3de /app/controllers/profiles/preferences_controller.rb | |
parent | 44d68159999a0ee30f7714470c1ef5b0c4a717fa (diff) | |
download | gitlab-ce-0c0c31ff34b3010c2c269ec56ef48dd305c6f74a.tar.gz |
Move the "Design" templates and logic to Preferences
Diffstat (limited to 'app/controllers/profiles/preferences_controller.rb')
-rw-r--r-- | app/controllers/profiles/preferences_controller.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/controllers/profiles/preferences_controller.rb b/app/controllers/profiles/preferences_controller.rb index 897e6fe074d..8b2630d1648 100644 --- a/app/controllers/profiles/preferences_controller.rb +++ b/app/controllers/profiles/preferences_controller.rb @@ -24,6 +24,9 @@ class Profiles::PreferencesController < Profiles::ApplicationController end def preferences_params - params.require(:user).permit(:color_scheme_id, :theme_id) + params.require(:user).permit( + :color_scheme_id, + :theme_id + ) end end |