gitlab-org--gitlab-foss/app/presenters/ci/group_variable_presenter.rb
2018-02-05 18:58:19 +01:00

21 lines
353 B
Ruby

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