Commit 895e9122 authored by Ash McKenzie's avatar Ash McKenzie

Remove duplicate -/users/terms routes

parent ebb13148
......@@ -43,13 +43,6 @@ scope '-/users', module: :users do
end
end
scope '-/users', module: :users do
resources :terms, only: [:index] do
post :accept, on: :member
post :decline, on: :member
end
end
scope(constraints: { username: Gitlab::PathRegex.root_namespace_route_regex }) do
scope(path: 'users/:username',
as: :user,
......
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