]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_map.html.erb
Serve OpenLayers through the asset pipeline
[rails.git] / app / views / browse / _map.html.erb
index 4b2093e3f06ce061533fc97995145d3a3561446b..b84f7a483c9c7a7dd9fcd1a6dcb609b7ffb11ea1 100644 (file)
@@ -1,5 +1,4 @@
-<%= javascript_include_tag '/openlayers/OpenLayers.js' %>
-<%= javascript_include_tag '/openlayers/OpenStreetMap.js' %>
+<%= javascript_include_tag 'openlayers.js' %>
 <%= javascript_include_tag 'map.js' %>
 
 <iframe id="linkloader" style="display: none">