Displaying 1 result from an estimated 1 matches for "leafletj".
Did you mean:
leaflet
2013 May 29
2
Why can't get remote javascript libraries on Rails 4
In rails 3, I included this line:
*<%= javascript_include_tag
"http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js" %>*
But when migrate to rails 4, its not posible and I get the next error:
*Invalid argument -
C:/Ruby193/findiner/app/assets/javascripts/http://cdn.leafletjs.com/leaflet-0.5.1
*
So far, I won''t be able to get remote libraries. Thanks for help!
--...