X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15b104f4ff4614aa78c01180b6a9b89dd5a1400f..9c83235f72aece554426751e334c1f0b4ccaea64:/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