X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/273ae4c7299288551177cc49d07d6f6d819d97c3..22fefc3df0c9302c2756f2cbbb2cdd011174a3a5:/app/views/notes/show.xml.builder diff --git a/app/views/notes/show.xml.builder b/app/views/notes/show.xml.builder index f16cda3a6..51b3daebd 100644 --- a/app/views/notes/show.xml.builder +++ b/app/views/notes/show.xml.builder @@ -1,5 +1,5 @@ xml.instruct! -xml.osm(:version => API_VERSION, :generator => GENERATOR) do |osm| +xml.osm(OSM::API.new.xml_root_attributes) do |osm| osm << render(:partial => "note", :object => @note) end