diff options
Diffstat (limited to 'app/controllers/admin/application_settings_controller.rb')
-rw-r--r-- | app/controllers/admin/application_settings_controller.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/controllers/admin/application_settings_controller.rb b/app/controllers/admin/application_settings_controller.rb index 2192bcc96ee..ef6af01eff6 100644 --- a/app/controllers/admin/application_settings_controller.rb +++ b/app/controllers/admin/application_settings_controller.rb @@ -27,6 +27,16 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController define_method(action) { perform_update if submitted? } end + def integrations + if Feature.enabled?(:instance_level_integrations) + # TODO: Update this with actual integrations + # To be fixed with https://gitlab.com/gitlab-org/gitlab/-/issues/199388 + @integrations = [] + end + + perform_update if submitted? + end + def update perform_update end |