From aa1e6adedccb9571cc14cad22d30c95b9edb813e Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 5 Jul 2018 23:26:18 +0200 Subject: [PATCH] Disable turbolinks towards check edit As of today, this causes a CSP issue when a notification is removed via rails-ujs, because nonce is not updated by turbolinks and rails-ujs use previous nonces. --- app/views/checks/_table.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/checks/_table.html.erb b/app/views/checks/_table.html.erb index fcda912..f4020fa 100644 --- a/app/views/checks/_table.html.erb +++ b/app/views/checks/_table.html.erb @@ -36,7 +36,7 @@ <% end %> - <%= link_to edit_check_path(check) do %> + <%= link_to edit_check_path(check), "data-turbolinks" => false do %> <%== Octicons::Octicon.new("pencil").to_svg %> <% end %>