Just wondering whether there's a way to use turbolinks directly in a rails link_to helper, a quick bit of googling didn't uncover anything of note, here's the type of thing I've tried to no avail.
<%= link_to 'Giraffe', giraffe_path(@giraffe), :data-no-turbolink => 'true' %>
<%= link_to 'Giraffe', giraffe_path(@giraffe), :data { :no-turbolink => 'true'} %>
I know you can do it in regular links like this
<a data-no-turbolink='true' href="/giraffe-130">Giraffe</a>
Right now I'm just including the attribute on elements that surround the link such as lis or divs.
Thanks in advance.