debian-mirror-gitlab/app/controllers/admin/clusters_controller.rb

16 lines
376 B
Ruby
Raw Normal View History

2019-07-31 22:56:46 +05:30
# 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
2019-12-04 20:38:33 +05:30
Admin::ClustersController.prepend_if_ee('EE::Admin::ClustersController')