Commit a477a5df authored by Eric Eastwood's avatar Eric Eastwood

Replace absolute URLs on related branches/MRs with relative url to avoid hostname

Conflicts:
	app/views/projects/issues/show.html.haml
parent 84eab3c9
...@@ -87,10 +87,11 @@ ...@@ -87,10 +87,11 @@
%h3.panel-title %h3.panel-title
Related issues Related issues
#merge-requests{ data: { url: referenced_merge_requests_project_issue_url(@project, @issue) } }
#merge-requests{ data: { url: referenced_merge_requests_project_issue_path(@project, @issue) } }
// This element is filled in using JavaScript. // This element is filled in using JavaScript.
#related-branches{ data: { url: related_branches_project_issue_url(@project, @issue) } } #related-branches{ data: { url: related_branches_project_issue_path(@project, @issue) } }
// This element is filled in using JavaScript. // This element is filled in using JavaScript.
.content-block.emoji-block .content-block.emoji-block
......
---
title: Fix related branches/Merge requests failing to load when the hostname setting
is changed
merge_request:
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment