Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-22 21:31:05 +0300
committerDouwe Maan <douwe@selenight.nl>2017-05-24 04:38:26 +0300
commited16c351c5acdf1ad2e401e72490320d06af6e91 (patch)
tree079c52592a85fe82ecf32f4e6281703b07028775 /config/routes
parent4345bb8c507a11af694617187dea14284f48fb96 (diff)
Fix specs
Diffstat (limited to 'config/routes')
-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