diff options
Diffstat (limited to 'app/controllers/admin/clusters/integrations_controller.rb')
-rw-r--r-- | app/controllers/admin/clusters/integrations_controller.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/controllers/admin/clusters/integrations_controller.rb b/app/controllers/admin/clusters/integrations_controller.rb new file mode 100644 index 00000000000..d163ae7368d --- /dev/null +++ b/app/controllers/admin/clusters/integrations_controller.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class Admin::Clusters::IntegrationsController < Clusters::IntegrationsController + include EnforcesAdminAuthentication + + private + + def clusterable + @clusterable ||= InstanceClusterablePresenter.fabricate(Clusters::Instance.new, current_user: current_user) + end +end |