diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-07-06 14:18:11 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-07-07 09:35:12 +0300 |
commit | b7d17aab66343d94e5aa9c1680d6bbf5fdfc173f (patch) | |
tree | aedc11164c8e8cb41cde2d972b91cf05fa4971ab /app/presenters | |
parent | 8c434a52fcfc92ffbd8bf9aa5ee2893724d3c666 (diff) |
Use new project_variables_path in this MR
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/ci/variable_presenter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/ci/variable_presenter.rb b/app/presenters/ci/variable_presenter.rb index 710604c653c..5d7998393a6 100644 --- a/app/presenters/ci/variable_presenter.rb +++ b/app/presenters/ci/variable_presenter.rb @@ -8,9 +8,9 @@ module Ci def form_path if variable.persisted? - namespace_project_variable_path(project.namespace, project, variable) + project_variable_path(project, variable) else - namespace_project_variables_path(project.namespace, project) + project_variables_path(project) end end |