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