X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8a8a88004d25837a10436fdc13128146b32c32b..3e49e4a62ad9ccce7a193ab0393a7722896455aa:/app/views/users/api_read.builder diff --git a/app/views/users/api_read.builder b/app/views/users/api_read.builder index 1598f3c53..78533279c 100644 --- a/app/views/users/api_read.builder +++ b/app/views/users/api_read.builder @@ -1,4 +1,4 @@ xml.instruct! :xml, :version => "1.0" -xml.osm("version" => API_VERSION, "generator" => GENERATOR) do |osm| +xml.osm(OSM::API.new.xml_root_attributes) do |osm| osm << render(:partial => "api_user", :object => @user) end