]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/users/show.json.jbuilder
get_text("reversegeocode/result") returns an XML node. We want to get the text value...
[rails.git] / app / views / api / users / show.json.jbuilder
index 8ef92752f2dd5ae2be32756d15aff06e71fcfcff..b3a86a8926129e9c8f53c2ad83d77c5fdf752de8 100644 (file)
@@ -1,3 +1,3 @@
-json.users([@user]) do |user|
-  json.partial! user
-end
+json.partial! "api/root_attributes"
+
+json.partial! @user