X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fac3f0ef2435ff1f4393c81cc9cf4113ff6a5bdb..686fee43bfc1fe95e4e85e1d94fba0fe325a4ca6:/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