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