diff options
author | Mario de la Ossa <mariodelaossa@gmail.com> | 2018-06-12 16:40:16 -0600 |
---|---|---|
committer | Mario de la Ossa <mariodelaossa@gmail.com> | 2018-06-12 17:22:12 -0600 |
commit | 379a6a709a55f952133354febddf97854c2d5d4d (patch) | |
tree | 7ff8d93b96395d80dd7bf58473bac7aafd54d250 /lib/api | |
parent | 7530e4ec86a686dede8eb8535fd231c1a75d3659 (diff) | |
download | gitlab-ce-379a6a709a55f952133354febddf97854c2d5d4d.tar.gz |
Sidebar Milestone - Fix wrong URL when selecting a parent group milestone47735-milestone-regression
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/entities.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 22afcb9edf2..3c9c87ac1c4 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -412,6 +412,10 @@ module API expose :state, :created_at, :updated_at expose :due_date expose :start_date + + expose :web_url do |milestone, _options| + Gitlab::UrlBuilder.build(milestone) + end end class IssueBasic < ProjectEntity |