From 2147945e2a61fbd13a71d7c22e86cec39d18e168 Mon Sep 17 00:00:00 2001 From: Aishwarya Subramanian Date: Fri, 16 Aug 2019 00:34:28 +0530 Subject: Nested username route under '-' to avoid conflicts --- config/routes.rb | 5 +---- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1