]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/users/show.json.jbuilder
Convert tests using OAuth 1 tokens to use OAuth 2 tokens
[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