Commit fcd510fa authored by Mark Chao's avatar Mark Chao

Merge branch 'remove-unused-subgroups-route' into 'master'

Remove unused subgroups route for groups in EE

See merge request gitlab-org/gitlab!44563
parents 25627e3f fa2e9799
......@@ -15,7 +15,7 @@ module EE
push_frontend_feature_flag(:scoped_labels, @group, type: :licensed)
end
feature_category :subgroups, [:restore, :subgroups]
feature_category :subgroups, [:restore]
end
override :render_show_html
......
# frozen_string_literal: true
constraints(::Constraints::GroupUrlConstrainer.new) do
scope(path: 'groups/*id',
controller: :groups,
constraints: { id: Gitlab::PathRegex.full_namespace_route_regex, format: /(html|json|atom|ics)/ }) do
scope(path: '-') do
get :subgroups, as: :subgroups_group # rubocop:todo Cop/PutGroupRoutesUnderScope
end
end
scope(path: 'groups/*group_id/-',
module: :groups,
as: :group,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment