2020-02-05 07:09:15 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class MilestonePresenter < Gitlab::View::Presenter::Delegated
|
2021-09-21 05:12:21 -04:00
|
|
|
presents ::Milestone, as: :milestone
|
2020-02-05 07:09:15 -05:00
|
|
|
|
|
|
|
def milestone_path
|
2020-04-06 14:09:37 -04:00
|
|
|
url_builder.build(milestone, only_path: true)
|
2020-02-05 07:09:15 -05:00
|
|
|
end
|
|
|
|
end
|