I have this link
<%= link_to "contact", ecrire_message_path %>
That page contains:
$(document).on('turbolinks:load', function(){
// some correct javascript here
});
The javascript doesn't work when I click on the link. It only works after page reloads.
turbolink gem is installed and included.
I don't know how to add to the link_to element not to use turbolinks.
Thanks