X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c1c459734d96736d1f4a5a14ec2570bcfd2cf83d..26cd62d5f263e348206f9ae2bfa2e0e07aa35d08:/app/views/api/users/index.json.jbuilder?ds=sidebyside 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