debian-mirror-gitlab/app/presenters/environment_presenter.rb
2021-01-30 21:13:34 +05:30

11 lines
227 B
Ruby

# frozen_string_literal: true
class EnvironmentPresenter < Gitlab::View::Presenter::Delegated
include ActionView::Helpers::UrlHelper
presents :environment
def path
project_environment_path(project, self)
end
end