X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b25a468e3c0aeb868f46ea758d4cf33ad7890bcb..716262f211a8983a4272eabf3fdba9877b068b65:/app/views/diary_entry/edit.html.erb?ds=sidebyside
diff --git a/app/views/diary_entry/edit.html.erb b/app/views/diary_entry/edit.html.erb
index 8728427be..8c054bb8b 100644
--- a/app/views/diary_entry/edit.html.erb
+++ b/app/views/diary_entry/edit.html.erb
@@ -14,7 +14,7 @@
<%= t 'diary_entry.edit.language' -%> |
- <%= f.collection_select :language_code, Language.find(:all, :order => :english_name), :code, :name %> |
+ <%= f.collection_select :language_code, Language.order(:english_name), :code, :name %> |
<%= t 'diary_entry.edit.location' -%> |
@@ -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' %>