diff options
author | Brett Walker <bwalker@gitlab.com> | 2019-02-20 19:56:19 +0300 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2019-06-19 20:29:10 +0300 |
commit | 6b4f93c0349e9d54cb48f1d5cf025c5e5ce77aee (patch) | |
tree | 422fdbc63f17d7836fe2cff92586b59a5febd3d0 /app/views/admin/application_settings/_ip_limits.html.haml | |
parent | e999e1de7baadc34e7fccf76e76991a7adf31b0e (diff) |
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 'app/views/admin/application_settings/_ip_limits.html.haml')
-rw-r--r-- | app/views/admin/application_settings/_ip_limits.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/application_settings/_ip_limits.html.haml b/app/views/admin/application_settings/_ip_limits.html.haml index 5a5681830b8..67a04fcf698 100644 --- a/app/views/admin/application_settings/_ip_limits.html.haml +++ b/app/views/admin/application_settings/_ip_limits.html.haml @@ -1,4 +1,4 @@ -= form_for @application_setting, url: admin_application_settings_path(anchor: 'js-ip-limits-settings'), html: { class: 'fieldset-form' } do |f| += form_for @application_setting, url: network_admin_application_settings_path(anchor: 'js-ip-limits-settings'), html: { class: 'fieldset-form' } do |f| = form_errors(@application_setting) %fieldset |