28dabc67f4
When we unhooked ClustersController from Project::ApplicationsController, we missed an EE override to handle_not_found_or_authorized. Rather than carry on with override RoutingActions, make a specific proc for Project that we override in EE instead. Use that proc in both Clusters::BaseController and Project::ApplicationsController.
10 lines
172 B
Ruby
10 lines
172 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ProjectUnauthorized
|
|
extend ActiveSupport::Concern
|
|
|
|
# EE would override this
|
|
def project_unauthorized_proc
|
|
# no-op
|
|
end
|
|
end
|