diff options
Diffstat (limited to 'app/controllers/profiles/preferences_controller.rb')
-rw-r--r-- | app/controllers/profiles/preferences_controller.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/controllers/profiles/preferences_controller.rb b/app/controllers/profiles/preferences_controller.rb index f19113276c2..3e8555a4ed1 100644 --- a/app/controllers/profiles/preferences_controller.rb +++ b/app/controllers/profiles/preferences_controller.rb @@ -37,7 +37,7 @@ class Profiles::PreferencesController < Profiles::ApplicationController end def preferences_param_names - preferences_param_names = [ + [ :color_scheme_id, :diffs_deletion_color, :diffs_addition_color, @@ -57,10 +57,9 @@ class Profiles::PreferencesController < Profiles::ApplicationController :project_shortcut_buttons, :markdown_surround_selection, :markdown_automatic_lists, - :use_new_navigation + :use_new_navigation, + :enabled_following ] - preferences_param_names << :enabled_following if ::Feature.enabled?(:disable_follow_users, user) - preferences_param_names end end |