summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-10-23 17:15:53 +0200
committerMatija Čupić <matteeyah@gmail.com>2018-10-24 20:16:14 +0200
commitc40634d41c42bff36a984f3f01d8f0bed65438f3 (patch)
treeb569fcd150c2c5efb1ffe27d50030813442cd7b0 /app/views/projects
parent67f03c0d8e4e7bd7ce687207b6f93a09d2dc0f20 (diff)
downloadgitlab-ce-c40634d41c42bff36a984f3f01d8f0bed65438f3.tar.gz
Fix the troubleshooting docs link
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/merge_requests/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/show.html.haml b/app/views/projects/merge_requests/show.html.haml
index 9216e33222c..5d1bbb077af 100644
--- a/app/views/projects/merge_requests/show.html.haml
+++ b/app/views/projects/merge_requests/show.html.haml
@@ -5,7 +5,6 @@
- page_title "#{@merge_request.title} (#{@merge_request.to_reference})", "Merge Requests"
- page_description @merge_request.description
- page_card_attributes @merge_request.card_attributes
-- troubleshooting_docs_link help_page_path('user/project/merge_requests', anchor: 'troubleshooting')
.merge-request{ data: { mr_action: j(params[:tab].presence || 'show'), url: merge_request_path(@merge_request, format: :json), project_path: project_path(@merge_request.project) } }
= render "projects/merge_requests/mr_title"
@@ -22,6 +21,7 @@
window.gl.mrWidgetData = #{serialize_issuable(@merge_request, serializer: 'widget')}
window.gl.mrWidgetData.squash_before_merge_help_path = '#{help_page_path("user/project/merge_requests/squash_and_merge")}';
+ window.gl.mrWidgetData.troubleshooting_docs_path = '#{help_page_path('user/project/merge_requests', anchor: 'troubleshooting')}';
#js-vue-mr-widget.mr-widget