From f8144bd37766fbd815ccc6d7de6b48f17d3fbf65 Mon Sep 17 00:00:00 2001 From: Johannes Schleifenbaum Date: Sat, 8 Dec 2012 11:42:38 +0100 Subject: [PATCH 1/2] add help/raketasks to routing spec --- spec/routing/routing_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb index 988063db4b0..57fd70e7497 100644 --- a/spec/routing/routing_spec.rb +++ b/spec/routing/routing_spec.rb @@ -33,6 +33,7 @@ end # help_system_hooks GET /help/system_hooks(.:format) help#system_hooks # help_markdown GET /help/markdown(.:format) help#markdown # help_ssh GET /help/ssh(.:format) help#ssh +# help_raketasks GET /help/raketasks(.:format) help#raketasks describe HelpController, "routing" do it "to #index" do get("/help").should route_to('help#index') @@ -65,6 +66,10 @@ describe HelpController, "routing" do it "to #ssh" do get("/help/ssh").should route_to('help#ssh') end + + it "to #raketasks" do + get("/help/raketasks").should route_to('help#raketasks') + end end # errors_githost GET /errors/githost(.:format) errors#githost -- GitLab From 3a481777629e3280b48b55deb287dca02ee389e6 Mon Sep 17 00:00:00 2001 From: Johannes Schleifenbaum Date: Sat, 8 Dec 2012 17:34:24 +0100 Subject: [PATCH 2/2] add help raketasks to search autocomplete --- app/helpers/application_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 81be62421c3..571c0cb71b6 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -95,6 +95,7 @@ module ApplicationHelper { label: "API Help", url: help_api_path }, { label: "Markdown Help", url: help_markdown_path }, { label: "SSH Keys Help", url: help_ssh_path }, + { label: "Gitlab Rake Tasks Help", url: help_raketasks_path }, ] project_nav = [] -- GitLab