Commit 960559aa authored by Bob Van Landuyt's avatar Bob Van Landuyt

Don't use canonical path for group children

parent 59981576
...@@ -41,9 +41,6 @@ scope(path: 'groups/*id', ...@@ -41,9 +41,6 @@ scope(path: 'groups/*id',
get :merge_requests, as: :merge_requests_group get :merge_requests, as: :merge_requests_group
get :projects, as: :projects_group get :projects, as: :projects_group
get :activity, as: :activity_group get :activity, as: :activity_group
scope(path: '-') do
get :children, as: :group_children
end
get '/', action: :show, as: :group_canonical get '/', action: :show, as: :group_canonical
end end
...@@ -56,5 +53,9 @@ constraints(GroupUrlConstrainer.new) do ...@@ -56,5 +53,9 @@ constraints(GroupUrlConstrainer.new) do
patch '/', action: :update patch '/', action: :update
put '/', action: :update put '/', action: :update
delete '/', action: :destroy delete '/', action: :destroy
scope(path: '-') do
get :children
end
end end
end end
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