summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-22 13:31:05 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-23 20:38:26 -0500
commited16c351c5acdf1ad2e401e72490320d06af6e91 (patch)
tree079c52592a85fe82ecf32f4e6281703b07028775 /config
parent4345bb8c507a11af694617187dea14284f48fb96 (diff)
downloadgitlab-ce-ed16c351c5acdf1ad2e401e72490320d06af6e91.tar.gz
Fix specs
Diffstat (limited to 'config')
-rw-r--r--config/routes/user.rb2
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