summaryrefslogtreecommitdiff
path: root/app/controllers/admin/clusters/integrations_controller.rb
blob: d163ae7368d0ff9fc35a43bd0eee30015bb87edd (plain)
1
2
3
4
5
6
7
8
9
10
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