X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52611a5bfa69165179bd871b925b5f8b14942e2e..9c83235f72aece554426751e334c1f0b4ccaea64:/app/views/notes/index.xml.builder diff --git a/app/views/notes/index.xml.builder b/app/views/notes/index.xml.builder index 38b239afc..286b1e1cc 100644 --- a/app/views/notes/index.xml.builder +++ b/app/views/notes/index.xml.builder @@ -1,3 +1,5 @@ xml.instruct! -xml << render(:partial => "note", :collection => @notes) +xml.osm(OSM::API.new.xml_root_attributes) do |osm| + osm << (render(:partial => "note", :collection => @notes) || "") +end