summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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