]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/users/show.json.jbuilder
API User details: format tweaks
[rails.git] / app / views / api / users / show.json.jbuilder
index 8ef92752f2dd5ae2be32756d15aff06e71fcfcff..51a85380ca97cf641280c3e515bcba0eca46e23d 100644 (file)
@@ -1,3 +1 @@
-json.users([@user]) do |user|
-  json.partial! user
-end
+json.partial! @user