debian-mirror-gitlab/app/controllers/admin/clusters/integrations_controller.rb
2021-04-29 21:17:54 +05:30

11 lines
302 B
Ruby

# 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