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
path: root/config
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-04-28 18:22:31 +0400
committerMarin Jankovski <marin@gitlab.com>2014-04-28 18:22:31 +0400
commitc4b1a5f5ea338d9be6b24f29a562b567b3c2598b (patch)
tree505b2ac5bd4d38b16e3b471e2c398f5f24617cc5 /config
parent0050c07fdda59f36ca2959e08d422ff5d6479e10 (diff)
Allow nested files in wiki.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f23542cc893..3e32068d8f7 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -204,7 +204,7 @@ Gitlab::Application.routes.draw do
end
end
- resources :wikis, only: [:show, :edit, :destroy, :create], constraints: {id: /[a-zA-Z.0-9_\-]+/} do
+ resources :wikis, only: [:show, :edit, :destroy, :create], constraints: {id: /[a-zA-Z.0-9_\-\/]+/} do
collection do
get :pages
put ':id' => 'wikis#update'