summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-15 13:15:18 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-04-15 13:15:18 -0400
commit2d4ffce826ef86af6bc69385ded6830297a8467f (patch)
treeecf5e12e2eaaaf4b8afc9f4569ce76a7ecd6523a /config
parent3052e894207303bf9fed972aa60d3a655a6c58d9 (diff)
downloadgitlab-ce-2d4ffce826ef86af6bc69385ded6830297a8467f.tar.gz
Loosen help page parameter constraints for category
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 8dbe6d80ab7..744a99feded 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -39,7 +39,7 @@ Gitlab::Application.routes.draw do
# Help
get 'help' => 'help#index'
- get 'help/:category/:file' => 'help#show', as: :help_page, constraints: { category: /[^\.]+/, file: /[^\.]+/ }
+ get 'help/:category/:file' => 'help#show', as: :help_page, constraints: { category: /.*/, file: /[^\/\.]+/ }
get 'help/shortcuts'
get 'help/ui' => 'help#ui'