summaryrefslogtreecommitdiff
path: root/app/views/projects/deploy_keys/_index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/deploy_keys/_index.html.haml')
-rw-r--r--app/views/projects/deploy_keys/_index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/deploy_keys/_index.html.haml b/app/views/projects/deploy_keys/_index.html.haml
index cb98ce04430..45985a5ecef 100644
--- a/app/views/projects/deploy_keys/_index.html.haml
+++ b/app/views/projects/deploy_keys/_index.html.haml
@@ -12,4 +12,4 @@
Create a new deploy key for this project
= render @deploy_keys.form_partial_path
%hr
- #js-deploy-keys{ data: { endpoint: namespace_project_deploy_keys_path } }
+ #js-deploy-keys{ data: { endpoint: project_deploy_keys_path(@project) } }