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:
authorMario de la Ossa <mariodelaossa@gmail.com>2018-06-13 01:40:16 +0300
committerMario de la Ossa <mariodelaossa@gmail.com>2018-06-13 02:22:12 +0300
commit379a6a709a55f952133354febddf97854c2d5d4d (patch)
tree7ff8d93b96395d80dd7bf58473bac7aafd54d250 /lib/gitlab/url_builder.rb
parent7530e4ec86a686dede8eb8535fd231c1a75d3659 (diff)
Sidebar Milestone - Fix wrong URL when selecting a parent group milestone
Diffstat (limited to 'lib/gitlab/url_builder.rb')
-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