gitlab-org--gitlab-foss/app/presenters/milestone_presenter.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
214 B
Ruby
Raw Normal View History

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