Im referencing to Link entire table row?
I followed the instructions and now have a link in each table row:
<% @patients.each do |patient| %>
<tr onclick="location.href='<%= patient_path(patient) %>'">
<td><%= patient.name %></td>
This generates for example such a link:
<tr onclick="location.href='/patients/18'">
My problem is now that when i click on a link turbolink isnt used and it takes very long to reload the whole page! How do i have to change my code so that turbolinks is used? Thanks