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: 6c8da86187c0a7eb0f3ecbfb4dbdd095a197d427 (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, as: :environment

  def path
    project_environment_path(project, self)
  end
end