Remove duplicate -/users/terms routes

This commit is contained in:
Ash McKenzie 2019-08-14 23:02:43 +10:00
parent ebb1314878
commit 895e912210
No known key found for this signature in database
GPG key ID: A1253B4953E8D3E6

View file

@ -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,