]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Serve OpenLayers through the asset pipeline
[rails.git] / app / views / site / index.html.erb
index 86eed75566eb2a55ab3d2c6d09c2a670d5b995a1..ee95bf7913aca7c938c95f4ad7b1811dfbdf866d 100644 (file)
@@ -120,8 +120,7 @@ else
 end
 %>
 
-<%= javascript_include_tag '/openlayers/OpenLayers.js' %>
-<%= javascript_include_tag '/openlayers/OpenStreetMap.js' %>
+<%= javascript_include_tag 'openlayers.js' %>
 <%= javascript_include_tag 'map.js' %>
 
 <%= render :partial => 'resize' %>