debian-mirror-gitlab/app/presenters/milestone_presenter.rb
2020-04-22 19:07:51 +05:30

9 lines
197 B
Ruby

# frozen_string_literal: true
class MilestonePresenter < Gitlab::View::Presenter::Delegated
presents :milestone
def milestone_path
url_builder.build(milestone, only_path: true)
end
end