]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
Try and make asset tagging actually work.
[rails.git] / app / views / site / index.rhtml
index e88643588d36d0b7255814c07cfa9d4ab4f789c3..a83053c070249f81f4ad63db24a9c8ce99026075 100644 (file)
@@ -72,8 +72,8 @@ by the OpenStreetMap project and it's contributors.
 <% end %>
 <% end %>
 
-<script type="text/javascript" src="/openlayers/OpenLayers.js"></script>
-<script type="text/javascript" src="/openlayers/OpenStreetMap.js"></script>
+<%= javascript_include_tag '/openlayers/OpenLayers.js' %>
+<%= javascript_include_tag '/openlayers/OpenStreetMap.js' %>
 <%= javascript_include_tag 'map.js' %>