]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/_map.html.erb
Serve OpenLayers through the asset pipeline
[rails.git] / app / views / user / _map.html.erb
index 6ab7139956a10854dcb9662baaa682e2dc148de3..6f192931f241dc0f1c6317069e7a17cd065950d9 100644 (file)
@@ -13,8 +13,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' %>
 
 <script type="text/javascript">