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.
This commit is contained in:
Colin Darie 2018-07-05 23:26:18 +02:00
parent 717cd3fac3
commit aa1e6adedc
No known key found for this signature in database
GPG Key ID: 4FB865FDBCA4BCC4
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
<% end %>
</td>
<td class="action text-right">
<%= link_to edit_check_path(check) do %>
<%= link_to edit_check_path(check), "data-turbolinks" => false do %>
<%== Octicons::Octicon.new("pencil").to_svg %>
<% end %>
</td>