Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-07-12 03:46:29 +0300
committerDouwe Maan <douwe@gitlab.com>2016-07-12 03:46:29 +0300
commit3999b80e4ebbfad46b093b94ea5ca31c0c3705be (patch)
tree14fdab8831a5671a420de1c9a47b442d08c354bb /features
parent774ff17804c879c3445c350de510204676330be9 (diff)
parentc30b3257818b6106c08e5d454e14b972d95450fa (diff)
Merge branch 'quick-start-ci-route' into 'master'
Make "Get started with Builds" Help Page link work properly `help_page_path('ci/quick_start', 'README')` causes a link to `https://gitlab.com/help/ci%2Fquick_start/README` which in turn breaks every relative link on the page. This remedies the problem. That said, this is probably a horrible way of fixing this issue, *but* it does work. I can’t find much information on linking this deeply with Rails routes. If anyone has suggestions as to a better way of handling this, I'll gladly take them. I tried a few different things, but none of them really worked. Resolves #14872. cc: @axil @rspeicher @elstamey See merge request !3561
Diffstat (limited to 'features')
-rw-r--r--features/steps/dashboard/help.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/dashboard/help.rb b/features/steps/dashboard/help.rb
index 800e869533e..9c94dc70df0 100644
--- a/features/steps/dashboard/help.rb
+++ b/features/steps/dashboard/help.rb
@@ -8,7 +8,7 @@ class Spinach::Features::DashboardHelp < Spinach::FeatureSteps
end
step 'I visit the "Rake Tasks" help page' do
- visit help_page_path("raketasks", "maintenance")
+ visit help_page_path("raketasks/maintenance")
end
step 'I should see "Rake Tasks" page markdown rendered' do