Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-08-14 16:02:43 +0300
committerAsh McKenzie <amckenzie@gitlab.com>2019-08-14 16:02:43 +0300
commit895e912210591261287e33fda6f224c760df323d (patch)
tree290a902294c0be4b2303967315d75d0152085d74 /config
parentebb1314878c4456070547c16f418b03685c46c8b (diff)
Remove duplicate -/users/terms 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,