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.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes/wiki.rb b/config/routes/wiki.rb
index 2ca52e55fca..d439c99270e 100644
--- a/config/routes/wiki.rb
+++ b/config/routes/wiki.rb
@@ -2,6 +2,7 @@ scope(controller: :wikis) do
scope(path: 'wikis', as: :wikis) do
get :git_access
get :pages
+ get :new
get '/', to: redirect('%{namespace_id}/%{project_id}/wikis/home')
post '/', to: 'wikis#create'
end