2020-03-13 15:44:24 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class MilestonePresenter < Gitlab::View::Presenter::Delegated
|
2021-11-18 22:05:49 +05:30
|
|
|
presents ::Milestone, as: :milestone
|
2020-03-13 15:44:24 +05:30
|
|
|
|
|
|
|
def milestone_path
|
2020-04-22 19:07:51 +05:30
|
|
|
url_builder.build(milestone, only_path: true)
|
2020-03-13 15:44:24 +05:30
|
|
|
end
|
|
|
|
end
|