summaryrefslogtreecommitdiff
path: root/app/controllers/admin/clusters/applications_controller.rb
blob: 7400cc161756b6ae2fa5f6ec394c83472a85df2a (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class Admin::Clusters::ApplicationsController < Clusters::ApplicationsController
  include EnforcesAdminAuthentication

  private

  def clusterable
    @clusterable ||= InstanceClusterablePresenter.fabricate(Clusters::Instance.new, current_user: current_user)
  end
end