]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/edit.html.erb
Serve OpenLayers through the asset pipeline
[rails.git] / app / views / diary_entry / edit.html.erb
index c0a231ab2cee894de9a7daccbecbd8de20626453..8c054bb8bfc795549c2de0634eefaec176ae5a9e 100644 (file)
@@ -49,8 +49,7 @@
   <% zoom = '12' %>
 <% 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">