diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-27 11:15:29 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-03-27 11:15:29 +0200 |
commit | 2a0f83f534f46836127ebd556fa7d6096b168fe5 (patch) | |
tree | fc4ac803eb504211d2e40ef98e30bd9998e7046e /config/routes | |
parent | c848735db6e77b7400ea88f9286bb12ff840a318 (diff) | |
download | gitlab-ce-2a0f83f534f46836127ebd556fa7d6096b168fe5.tar.gz |
Fix environment folder route when special chars present
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 44b8ae7aedd..512984c6f48 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -164,7 +164,7 @@ constraints(ProjectUrlConstrainer.new) do end collection do - get :folder, path: 'folders/:id' + get :folder, path: 'folders/*id', constraints: { format: /(html|json)/ } end end |