summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJob van der Voort <job@gitlab.com>2014-04-18 17:21:21 +0200
committerMarin Jankovski <marin@gitlab.com>2014-05-29 08:44:25 +0200
commitfd476cf62013e49acf23a301b841e7c09197e9ae (patch)
tree78f2d32fc3beb8917c4097e30c1fc17294cb39db /config/routes.rb
parente61e3eaadb7f0c7c106b72d1325437e7743a2027 (diff)
downloadgitlab-ce-fd476cf62013e49acf23a301b841e7c09197e9ae.tar.gz
render items from doc
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb16
1 files changed, 3 insertions, 13 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ada9bb1d77a..bab8fb1d218 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -31,19 +31,9 @@ Gitlab::Application.routes.draw do
#
# Help
#
- get 'help' => 'help#index'
- get 'help/api' => 'help#api'
- get 'help/api/:category' => 'help#api', as: 'help_api_file'
- get 'help/markdown' => 'help#markdown'
- get 'help/permissions' => 'help#permissions'
- get 'help/public_access' => 'help#public_access'
- get 'help/raketasks' => 'help#raketasks'
- get 'help/ssh' => 'help#ssh'
- get 'help/system_hooks' => 'help#system_hooks'
- get 'help/web_hooks' => 'help#web_hooks'
- get 'help/workflow' => 'help#workflow'
- get 'help/shortcuts'
- get 'help/security'
+
+ get 'help' => 'help#index'
+ get 'help/:category/:file' => 'help#show'
#
# Global snippets