mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-03 16:04:30 +00:00
16 lines
346 B
Ruby
16 lines
346 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Admin::ClustersController < ::Clusters::ClustersController
|
|
include EnforcesAdminAuthentication
|
|
|
|
before_action :ensure_feature_enabled!
|
|
|
|
layout 'admin'
|
|
|
|
private
|
|
|
|
def clusterable
|
|
@clusterable ||= InstanceClusterablePresenter.fabricate(Clusters::Instance.new, current_user: current_user)
|
|
end
|
|
end
|