Remove duplicate -/users/terms routes
This commit is contained in:
parent
ebb1314878
commit
895e912210
1 changed files with 0 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue