X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ddac660f3b7cc09a7718f20d1b857b0794d5a4ef..735a5cf9e25b81d03db80ca4393aa34ea74d612a:/app/views/api/users/index.json.jbuilder diff --git a/app/views/api/users/index.json.jbuilder b/app/views/api/users/index.json.jbuilder index efc905cfe..d2dbd4d4f 100644 --- a/app/views/api/users/index.json.jbuilder +++ b/app/views/api/users/index.json.jbuilder @@ -1,3 +1,5 @@ -json.users(@users) do |user| - json.partial! user +json.partial! "api/root_attributes" + +json.users do + json.array! @users, :partial => "user", :as => :user end