2020-10-13 06:09:09 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class EnvironmentPresenter < Gitlab::View::Presenter::Delegated
|
2021-09-21 09:12:21 +00:00
|
|
|
presents ::Environment, as: :environment
|
2020-10-13 06:09:09 +00:00
|
|
|
|
|
|
|
def path
|
2020-10-28 09:08:37 +00:00
|
|
|
project_environment_path(project, self)
|
2020-10-13 06:09:09 +00:00
|
|
|
end
|
|
|
|
end
|