summaryrefslogtreecommitdiff
path: root/config/routes/wiki.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes/wiki.rb')
-rw-r--r--config/routes/wiki.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/wiki.rb b/config/routes/wiki.rb
index cd3828b743c..1a07b1c206b 100644
--- a/config/routes/wiki.rb
+++ b/config/routes/wiki.rb
@@ -2,7 +2,7 @@ scope(controller: :wikis) do
scope(path: 'wikis', as: :wikis) do
get :git_access
get :pages
- get '/', to: redirect('/%{namespace_id}/%{project_id}/wikis/home')
+ get '/', to: redirect('%{namespace_id}/%{project_id}/wikis/home')
post '/', to: 'wikis#create'
end