I have an issue with a script only working when refreshing the page and so I\'m trying to disable Turbolinks for only that page. The code below doesn\'t work. However, if I add
this is going sound really simple
<%- if params[:controller] == 'controller_name' and params[:action] == 'index' %> <%- else %> <%- end %>
I hope this help.