summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-05-28 15:47:03 +0200
committerMarin Jankovski <marin@gitlab.com>2014-05-29 08:44:25 +0200
commita9580a157a39bd6d7bc046f1bada88eb5d698b9c (patch)
tree34b958d799c6cd8db4d024e042de97fe9a809660 /app/helpers
parent59797b2f2eef559397b53b6a3763c62d40363902 (diff)
downloadgitlab-ce-a9580a157a39bd6d7bc046f1bada88eb5d698b9c.tar.gz
Use the correct links, replace in search.
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/search_helper.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index d7f3da7e537..01c31205695 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -33,15 +33,15 @@ module SearchHelper
# Autocomplete results for internal help pages
def help_autocomplete
[
- { label: "help: API Help", url: help_api_path },
- { label: "help: Markdown Help", url: help_markdown_path },
- { label: "help: Permissions Help", url: help_permissions_path },
- { label: "help: Public Access Help", url: help_public_access_path },
- { label: "help: Rake Tasks Help", url: help_raketasks_path },
- { label: "help: SSH Keys Help", url: help_ssh_path },
- { label: "help: System Hooks Help", url: help_system_hooks_path },
- { label: "help: Web Hooks Help", url: help_web_hooks_path },
- { label: "help: Workflow Help", url: help_workflow_path },
+ { label: "help: API Help", url: help_page_path("api", "README") },
+ { label: "help: Markdown Help", url: help_page_path("markdown", "markdown") },
+ { label: "help: Permissions Help", url: help_page_path("permissions", "permissions") },
+ { label: "help: Public Access Help", url: help_page_path("public_access", "public_access") },
+ { label: "help: Rake Tasks Help", url: help_page_path("raketasks", "README") },
+ { label: "help: SSH Keys Help", url: help_page_path("ssh", "README") },
+ { label: "help: System Hooks Help", url: help_page_path("system_hooks", "system_hooks") },
+ { label: "help: Web Hooks Help", url: help_page_path("web_hooks", "web_hooks") },
+ { label: "help: Workflow Help", url: help_page_path("workflow", "README") },
]
end