Commit 8a5b770c3669f91d1b6da65a1f95272091479293

Authored by Riyad Preukschas
1 parent bba88e84

Reorder help routes

app/helpers/application_helper.rb
@@ -83,15 +83,15 @@ module ApplicationHelper @@ -83,15 +83,15 @@ module ApplicationHelper
83 ] 83 ]
84 84
85 help_nav = [ 85 help_nav = [
86 - { label: "Workflow Help", url: help_workflow_path },  
87 - { label: "Permissions Help", url: help_permissions_path },  
88 - { label: "Web Hooks Help", url: help_web_hooks_path },  
89 - { label: "System Hooks Help", url: help_system_hooks_path },  
90 { label: "API Help", url: help_api_path }, 86 { label: "API Help", url: help_api_path },
91 { label: "Markdown Help", url: help_markdown_path }, 87 { label: "Markdown Help", url: help_markdown_path },
  88 + { label: "Permissions Help", url: help_permissions_path },
92 { label: "Public Access Help", url: help_public_access_path }, 89 { label: "Public Access Help", url: help_public_access_path },
  90 + { label: "Rake Tasks Help", url: help_raketasks_path },
93 { label: "SSH Keys Help", url: help_ssh_path }, 91 { label: "SSH Keys Help", url: help_ssh_path },
94 - { label: "Gitlab Rake Tasks Help", url: help_raketasks_path }, 92 + { label: "System Hooks Help", url: help_system_hooks_path },
  93 + { label: "Web Hooks Help", url: help_web_hooks_path },
  94 + { label: "Workflow Help", url: help_workflow_path },
95 ] 95 ]
96 96
97 project_nav = [] 97 project_nav = []
config/routes.rb
@@ -26,16 +26,16 @@ Gitlab::Application.routes.draw do @@ -26,16 +26,16 @@ Gitlab::Application.routes.draw do
26 # 26 #
27 # Help 27 # Help
28 # 28 #
29 - get 'help' => 'help#index'  
30 - get 'help/permissions' => 'help#permissions'  
31 - get 'help/workflow' => 'help#workflow'  
32 - get 'help/api' => 'help#api'  
33 - get 'help/web_hooks' => 'help#web_hooks'  
34 - get 'help/system_hooks' => 'help#system_hooks'  
35 - get 'help/markdown' => 'help#markdown'  
36 - get 'help/ssh' => 'help#ssh'  
37 - get 'help/raketasks' => 'help#raketasks' 29 + get 'help' => 'help#index'
  30 + get 'help/api' => 'help#api'
  31 + get 'help/markdown' => 'help#markdown'
  32 + get 'help/permissions' => 'help#permissions'
38 get 'help/public_access' => 'help#public_access' 33 get 'help/public_access' => 'help#public_access'
  34 + get 'help/raketasks' => 'help#raketasks'
  35 + get 'help/ssh' => 'help#ssh'
  36 + get 'help/system_hooks' => 'help#system_hooks'
  37 + get 'help/web_hooks' => 'help#web_hooks'
  38 + get 'help/workflow' => 'help#workflow'
39 39
40 # 40 #
41 # Public namespace 41 # Public namespace