X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4d91fe3dd95c1058cb8d24fd4c900223e30b9059..6c2432ae423c6744b8443c63d0e02e1ccc2d3011:/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