diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-07-12 00:46:29 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-07-12 00:46:29 +0000 |
commit | 3999b80e4ebbfad46b093b94ea5ca31c0c3705be (patch) | |
tree | 14fdab8831a5671a420de1c9a47b442d08c354bb /app/views/projects/notes | |
parent | 774ff17804c879c3445c350de510204676330be9 (diff) | |
parent | c30b3257818b6106c08e5d454e14b972d95450fa (diff) | |
download | gitlab-ce-3999b80e4ebbfad46b093b94ea5ca31c0c3705be.tar.gz |
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 'app/views/projects/notes')
-rw-r--r-- | app/views/projects/notes/_hints.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_hints.html.haml b/app/views/projects/notes/_hints.html.haml index 7d1cbc62e86..25466e7562e 100644 --- a/app/views/projects/notes/_hints.html.haml +++ b/app/views/projects/notes/_hints.html.haml @@ -1,7 +1,7 @@ .comment-toolbar.clearfix .toolbar-text Styling with - = link_to 'Markdown', help_page_path('markdown', 'markdown'), target: '_blank', tabindex: -1 + = link_to 'Markdown', help_page_path('markdown/markdown'), target: '_blank', tabindex: -1 is supported %button.toolbar-button.markdown-selector{ type: 'button', tabindex: '-1' } = icon('file-image-o', class: 'toolbar-button-icon') |