2020-02-05 07:09:15 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class MilestonePresenter < Gitlab::View::Presenter::Delegated
|
|
|
|
presents :milestone
|
|
|
|
|
|
|
|
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
|