summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-08-14 23:02:43 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2019-08-14 23:02:43 +1000
commit895e912210591261287e33fda6f224c760df323d (patch)
tree290a902294c0be4b2303967315d75d0152085d74 /config
parentebb1314878c4456070547c16f418b03685c46c8b (diff)
downloadgitlab-ce-895e912210591261287e33fda6f224c760df323d.tar.gz
Remove duplicate -/users/terms routesashmckenzie/remove-duplicate-users-routes
Diffstat (limited to 'config')
-rw-r--r--config/routes/user.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/config/routes/user.rb b/config/routes/user.rb
index 3f768d5d384..d4616c8080d 100644
--- a/config/routes/user.rb
+++ b/config/routes/user.rb
@@ -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,