Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-11 00:08:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-11 00:08:01 +0300
commit4ba55564e1dd7fdbdb89065be8eefd01d8c2d607 (patch)
tree32e6eaec4cf44b40607e3fd8c4077050c3ce9771 /lib/gitlab/url_builder.rb
parent115c8ea7af7ef69ca3f09c333314546e9b5712f9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/url_builder.rb')
-rw-r--r--lib/gitlab/url_builder.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/url_builder.rb b/lib/gitlab/url_builder.rb
index 5a9eef8288f..4bedf7a301e 100644
--- a/lib/gitlab/url_builder.rb
+++ b/lib/gitlab/url_builder.rb
@@ -25,7 +25,7 @@ module Gitlab
when WikiPage
wiki_page_url
when Snippet
- opts[:raw].present? ? raw_snippet_url(object) : snippet_url(object)
+ opts[:raw].present? ? gitlab_raw_snippet_url(object) : gitlab_snippet_url(object)
when Milestone
milestone_url(object)
when ::Ci::Build
@@ -65,7 +65,7 @@ module Gitlab
merge_request_url(object.noteable, anchor: dom_id(object))
elsif object.for_snippet?
- snippet_url(object.noteable, anchor: dom_id(object))
+ gitlab_snippet_url(object.noteable, anchor: dom_id(object))
end
end