Welcome to mirror list, hosted at ThFree Co, Russian Federation.

environment_presenter.rb « presenters « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6f67bbe2a5a968148ef5095e3a55927e4b6ecb1f (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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