-
- Downloads
Use a path for the related merge requests endpoint
Hosts using a non-standard configuration may have a different hostname/port/scheme than what may be configured on the GitLab server. While expose_url should generate a proper URL, there are cases where it may not work. Since we don't need the full URL, we can use the relative path. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61280
parent
fb688545
No related branches found
No related tags found
Pipeline #60156466 failed
Stage: build
Stage: prepare
Stage: test
Stage: review
Stage: qa
Stage: post-test
Stage: post-cleanup
Showing
- app/views/projects/issues/show.html.haml 1 addition, 1 deletionapp/views/projects/issues/show.html.haml
- changelogs/unreleased/sh-fix-related-merge-requests-path.yml 5 additions, 0 deletionschangelogs/unreleased/sh-fix-related-merge-requests-path.yml
- lib/api/helpers/related_resources_helpers.rb 4 additions, 0 deletionslib/api/helpers/related_resources_helpers.rb
- spec/lib/api/helpers/related_resources_helpers_spec.rb 34 additions, 0 deletionsspec/lib/api/helpers/related_resources_helpers_spec.rb
Please register or sign in to comment