]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/new.rhtml
Try and make asset tagging actually work.
[rails.git] / app / views / diary_entry / new.rhtml
index 4e9482f3c3aa0dbfa699a6c7538c671063a84bdf..7ee1eeaede5f1d6991583bd7547ad7c685333986 100644 (file)
@@ -32,8 +32,8 @@
   <% zoom = '12' %>
 <% 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' %>
 
 <script type="text/javascript">