Welcome to mirror list, hosted at ThFree Co, Russian Federation.

clusters_controller.rb « admin « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f54933de10faae812e7727eb187e66f748899406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class Admin::ClustersController < Clusters::ClustersController
  include EnforcesAdminAuthentication

  layout 'admin'

  private

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