From 42532605db5abd5608ce6cff6cc4da91f49a8e64 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 18 Apr 2019 16:04:13 +0000 Subject: Update Rails ujs (#31205). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18062 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/my/page.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/my/page.html.erb b/app/views/my/page.html.erb index c56e03c17..f7a2f5577 100644 --- a/app/views/my/page.html.erb +++ b/app/views/my/page.html.erb @@ -1,5 +1,5 @@
- <%= form_tag({:action => "add_block"}, :remote => true, :id => "block-form") do %> + <%= form_tag({:action => "add_block"}, :remote => true, :id => "block-form", authenticity_token: true) do %> <%= label_tag('block-select', l(:button_add)) %>: <%= block_select_tag(@user) %> <% end %> -- cgit v1.2.3