]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/users/show.builder
JSON: move root_attributes to shared folder
[rails.git] / app / views / api / users / show.builder
index dd5e9368920c936931fd022c3a98eef115b34976..96bfdd3fa9d0007313952c29b435becdb0fb4465 100644 (file)
@@ -1,4 +1,4 @@
 xml.instruct! :xml, :version => "1.0"
 xml.osm(OSM::API.new.xml_root_attributes) do |osm|
-  osm << render(:partial => "user", :object => @user)
+  osm << render(@user)
 end