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

group_variable_presenter.rb « ci « presenters « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 98d68bc7a837c904d74050127472ca3b02d8802a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module Ci
  class GroupVariablePresenter < Gitlab::View::Presenter::Delegated
    presents :variable

    def placeholder
      'GROUP_VARIABLE'
    end

    def form_path
      group_settings_ci_cd_path(group)
    end

    def edit_path
      group_variables_path(group)
    end

    def delete_path
      group_variables_path(group)
    end
  end
end