diff options
author | Phil Hughes <me@iamphill.com> | 2017-01-06 10:33:06 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-01-06 10:33:06 +0000 |
commit | cb537324a38f6680741f2da8c074ff7220e75a4f (patch) | |
tree | c1c06c1331aa19eb3181e2917a87bf51e527626d /app/views/projects/notes | |
parent | 6003f6ea93f8935ef4b6e9972f06a6a11aa48e69 (diff) | |
download | gitlab-ce-cb537324a38f6680741f2da8c074ff7220e75a4f.tar.gz |
Fixed edit form authenticity_token call failing the testsfixed-edit-form-failing-test
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r-- | app/views/projects/notes/_edit_form.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/notes/_edit_form.html.haml b/app/views/projects/notes/_edit_form.html.haml index d36b4e6c8ab..e8e450742b5 100644 --- a/app/views/projects/notes/_edit_form.html.haml +++ b/app/views/projects/notes/_edit_form.html.haml @@ -1,6 +1,5 @@ .note-edit-form - = form_tag '#', method: :put, remote: true, class: 'edit-note common-note-form js-quick-submit' do - = hidden_field_tag :authenticity_token, form_authenticity_token + = form_tag '#', method: :put, class: 'edit-note common-note-form js-quick-submit' do = hidden_field_tag :target_id, '', class: 'js-form-target-id' = hidden_field_tag :target_type, '', class: 'js-form-target-type' = render layout: 'projects/md_preview', locals: { preview_class: 'md-preview', referenced_users: true } do |