debian-mirror-gitlab/app/presenters/environment_presenter.rb
2022-05-07 20:08:51 +05:30

9 lines
204 B
Ruby

# frozen_string_literal: true
class EnvironmentPresenter < Gitlab::View::Presenter::Delegated
presents ::Environment, as: :environment
def path
project_environment_path(project, self)
end
end