diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-04-28 16:22:31 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-04-28 16:22:31 +0200 |
commit | c4b1a5f5ea338d9be6b24f29a562b567b3c2598b (patch) | |
tree | 505b2ac5bd4d38b16e3b471e2c398f5f24617cc5 /config | |
parent | 0050c07fdda59f36ca2959e08d422ff5d6479e10 (diff) | |
download | gitlab-ce-c4b1a5f5ea338d9be6b24f29a562b567b3c2598b.tar.gz |
Allow nested files in wiki.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
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' |