summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/routes.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 59718ca2ab0..d633228a495 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -109,6 +109,7 @@ Rails.application.routes.draw do
Gitlab.ee do
draw :smartcard
draw :jira_connect
+ draw :username
end
Gitlab.ee do
@@ -189,9 +190,5 @@ Rails.application.routes.draw do
root to: "root#index"
- Gitlab.ee do
- draw :username
- end
-
get '*unmatched_route', to: 'application#route_not_found'
end