Commit 5582ae145d3b27b8e1713f966dff62fc3ba2307b
1 parent
0e4a8e23
Exists in
master
and in
4 other branches
Fix project transfer feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/projects/edit.html.haml
@@ -130,7 +130,7 @@ | @@ -130,7 +130,7 @@ | ||
130 | .title Transfer project | 130 | .title Transfer project |
131 | .errors-holder | 131 | .errors-holder |
132 | .form-holder | 132 | .form-holder |
133 | - = form_for(@project, url: transfer_project_path(@project), remote: true, html: { class: 'transfer-project' }) do |f| | 133 | + = form_for(@project, url: transfer_project_path(@project), method: :put, remote: true, html: { class: 'transfer-project' }) do |f| |
134 | .control-group | 134 | .control-group |
135 | = f.label :namespace_id do | 135 | = f.label :namespace_id do |
136 | %span Namespace | 136 | %span Namespace |