X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b25a468e3c0aeb868f46ea758d4cf33ad7890bcb..917d7324a6f1d3f6256b1a541a912ccee84097d1:/app/views/diary_entry/edit.html.erb diff --git a/app/views/diary_entry/edit.html.erb b/app/views/diary_entry/edit.html.erb index 8728427be..f6273a828 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' %>