2021-04-29 21:17:54 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Groups::Clusters::IntegrationsController < Clusters::IntegrationsController
|
|
|
|
include ControllerWithCrossProjectAccessCheck
|
|
|
|
|
|
|
|
prepend_before_action :group
|
|
|
|
requires_cross_project_access
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def clusterable
|
|
|
|
@clusterable ||= ClusterablePresenter.fabricate(group, current_user: current_user)
|
|
|
|
end
|
|
|
|
|
|
|
|
def group
|
2021-11-11 11:23:49 +05:30
|
|
|
@group ||= find_routable!(Group, params[:group_id] || params[:id], request.fullpath)
|
2021-04-29 21:17:54 +05:30
|
|
|
end
|
|
|
|
end
|