summaryrefslogtreecommitdiff
path: root/app/presenters
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-06 16:39:45 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-07 15:35:12 +0900
commit61d5b13888e9eb83cd86ca9849034d320b94d2b7 (patch)
tree1bf677e098febb0b6c94f6624d59b8e11d97db00 /app/presenters
parent5c68fa66ccb17cb9a2c17574c3136c89b1a5d19f (diff)
downloadgitlab-ce-61d5b13888e9eb83cd86ca9849034d320b94d2b7.tar.gz
Adopt project_variable_path instead of namespace_project_variable_path. (Resolve confilct from master)
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/ci/variable_presenter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/ci/variable_presenter.rb b/app/presenters/ci/variable_presenter.rb
index 3f14d972c50..710604c653c 100644
--- a/app/presenters/ci/variable_presenter.rb
+++ b/app/presenters/ci/variable_presenter.rb
@@ -15,11 +15,11 @@ module Ci
end
def edit_path
- namespace_project_variable_path(project.namespace, project, variable)
+ project_variable_path(project, variable)
end
def delete_path
- namespace_project_variable_path(project.namespace, project, variable)
+ project_variable_path(project, variable)
end
end
end