summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-07 14:17:06 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-10-10 16:32:32 +0300
commit66c32cab1af621caa6ae3cb24b82b344d43512a5 (patch)
treed0c0e9abaeba59e9f5ae8a7228e774c932c13672 /config
parentb26a3d538178c82d4e7af2076ba999087225666c (diff)
downloadgitlab-ce-66c32cab1af621caa6ae3cb24b82b344d43512a5.tar.gz
Remove NamespacesController
The main purpose of this controller was redirect to group or user page when URL like https://gitlab.com/gitlab-org was used. Now this functionality is handled by contrainers and take user to correct controller right from the start Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index bf7c5b76128..83c3a42c19f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -87,7 +87,5 @@ Rails.application.routes.draw do
# Get all keys of user
get ':username.keys' => 'profiles/keys#get_keys', constraints: { username: /.*/ }
- get ':id' => 'namespaces#show', constraints: { id: /(?:[^.]|\.(?!atom$))+/, format: /atom/ }
-
root to: "root#index"
end