summaryrefslogtreecommitdiff
path: root/lib/gitlab
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-13 09:47:38 +0000
committerPhil Hughes <me@iamphill.com>2018-06-13 09:47:38 +0000
commit1f5032ef994e1e97ab231dc04d6be39dc0d85915 (patch)
tree4fa2337344457cfb2eb378db9df55267200b58d7 /lib/gitlab
parenta66af9b121d3f03f46a689cb9bb0867628618974 (diff)
parent379a6a709a55f952133354febddf97854c2d5d4d (diff)
downloadgitlab-ce-1f5032ef994e1e97ab231dc04d6be39dc0d85915.tar.gz
Merge branch '47735-milestone-regression' into 'master'
Resolve "Regressions for assigning group milestone from ancestor" Closes #47735 See merge request gitlab-org/gitlab-ce!19721
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/url_builder.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/url_builder.rb b/lib/gitlab/url_builder.rb
index 824e2d7251f..e64033b0dba 100644
--- a/lib/gitlab/url_builder.rb
+++ b/lib/gitlab/url_builder.rb
@@ -26,6 +26,8 @@ module Gitlab
project_snippet_url(object.project, object)
when Snippet
snippet_url(object)
+ when Milestone
+ milestone_url(object)
else
raise NotImplementedError.new("No URL builder defined for #{object.class}")
end