Commit 977de0fa authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'ee-40555-replace-absolute-urls-with-related-branches-to-avoid-hostname' into 'master'

Replace absolute URLs on related branches/MRs with relative url to avoid hostname -- EE merge edition

See merge request gitlab-org/gitlab-ee!3626
parents 037de8ce a477a5df
...@@ -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