diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-05-22 21:31:05 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-05-24 04:38:26 +0300 |
commit | ed16c351c5acdf1ad2e401e72490320d06af6e91 (patch) | |
tree | 079c52592a85fe82ecf32f4e6281703b07028775 /config | |
parent | 4345bb8c507a11af694617187dea14284f48fb96 (diff) |
Fix specs
Diffstat (limited to 'config')
-rw-r--r-- | config/routes/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/user.rb b/config/routes/user.rb index df49a752f5e..e682dcd6663 100644 --- a/config/routes/user.rb +++ b/config/routes/user.rb @@ -22,7 +22,7 @@ scope(constraints: { username: Gitlab::PathRegex.root_namespace_route_regex }) d get :contributed, as: :contributed_projects get :snippets get :exists - get '/', to: redirect('/%{username}') + get '/', to: redirect('/%{username}'), as: nil end # Compatibility with old routing |