X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7599f98957334d1924550205f7ba12a726de7eb0..4b4c5aac2f6e338fb043cd4d2a031c4bd6ee1b05:/app/views/notes/show.xml.builder diff --git a/app/views/notes/show.xml.builder b/app/views/notes/show.xml.builder index cfb28c20e..51b3daebd 100644 --- a/app/views/notes/show.xml.builder +++ b/app/views/notes/show.xml.builder @@ -1,3 +1,5 @@ xml.instruct! -xml << render(:partial => "note", :object => @note) +xml.osm(OSM::API.new.xml_root_attributes) do |osm| + osm << render(:partial => "note", :object => @note) +end