summaryrefslogtreecommitdiff
path: root/app/views/projects/deploy_keys/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/deploy_keys/edit.html.haml')
-rw-r--r--app/views/projects/deploy_keys/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/deploy_keys/edit.html.haml b/app/views/projects/deploy_keys/edit.html.haml
index 7fa7036245c..805d4983002 100644
--- a/app/views/projects/deploy_keys/edit.html.haml
+++ b/app/views/projects/deploy_keys/edit.html.haml
@@ -3,7 +3,7 @@
%hr
%div
- = form_for [@project.namespace.becomes(Namespace), @project, @deploy_key], include_id: false, html: { class: 'js-requires-input' } do |f|
+ = form_for [@project, @deploy_key], include_id: false, html: { class: 'js-requires-input' } do |f|
= render partial: 'shared/deploy_keys/form', locals: { form: f, deploy_key: @deploy_key }
.form-actions
= f.submit 'Save changes', class: 'btn-success btn'