diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/settings/integrations_controller.rb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/app/controllers/projects/settings/integrations_controller.rb b/app/controllers/projects/settings/integrations_controller.rb index a4a53676ec7..96bf7f474d1 100644 --- a/app/controllers/projects/settings/integrations_controller.rb +++ b/app/controllers/projects/settings/integrations_controller.rb @@ -3,23 +3,12 @@ module Projects module Settings class IntegrationsController < Projects::ApplicationController - include ServiceParams - before_action :authorize_admin_project! layout "project_settings" def show - @services = @project.find_or_initialize_services(exceptions: service_exceptions) - end - - private - - # Returns a list of services that should be hidden from the list - def service_exceptions - @project.disabled_services.dup + @services = @project.find_or_initialize_services end end end end - -Projects::Settings::IntegrationsController.prepend_if_ee('EE::Projects::Settings::IntegrationsController') |