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

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

10 lines
204 B
Ruby
Raw Normal View History

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