I have a rails application using turbolinks
on one page, I have to download the script, and I don't want to load it into the whole application
add it to the page, for example
<% content_for :head do %> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> <% end %>
My problem is that I enter the page through the turbolinks script does not load
how can i load single js on a specific page
thanks!
source share