X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..061c53ff1d0f9ddacdc02a3396a4c857b71a502f:/app/views/notes/show.xml.builder?ds=sidebyside 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