21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-03 17:25:09 +02:00

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

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>