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

12 lines
227 B
Ruby
Raw Normal View History

# 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