diff options
author | Brett Walker <bwalker@gitlab.com> | 2019-02-20 10:56:19 -0600 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2019-06-19 12:29:10 -0500 |
commit | 6b4f93c0349e9d54cb48f1d5cf025c5e5ce77aee (patch) | |
tree | 422fdbc63f17d7836fe2cff92586b59a5febd3d0 /config/routes | |
parent | e999e1de7baadc34e7fccf76e76991a7adf31b0e (diff) | |
download | gitlab-ce-6b4f93c0349e9d54cb48f1d5cf025c5e5ce77aee.tar.gz |
Update application settings using correct action
Updating multiple application settings panels through
a single action causes the incorrect action to be shown
when there are errors. Instead, make each panel action
handle both updating and display.
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/admin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/admin.rb b/config/routes/admin.rb index ae79beb1dba..f609739d9fd 100644 --- a/config/routes/admin.rb +++ b/config/routes/admin.rb @@ -110,7 +110,7 @@ namespace :admin do put :reset_registration_token put :reset_health_check_token put :clear_repository_check_states - get :integrations, :repository, :templates, :ci_cd, :reporting, :metrics_and_profiling, :network, :geo, :preferences + match :integrations, :repository, :templates, :ci_cd, :reporting, :metrics_and_profiling, :network, :geo, :preferences, via: [:get, :patch] get :lets_encrypt_terms_of_service end |