X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6f2e3e9508b6a51062f547e3630cf1c7ad2639c1..5bb23f6f5f8fed81f1166a15344e44afa7fbb480:/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 1ad07d47c..d2dbd4d4f 100644 --- a/app/views/api/users/index.json.jbuilder +++ b/app/views/api/users/index.json.jbuilder @@ -1,5 +1,5 @@ json.partial! "api/root_attributes" -json.users(@users) do |user| - json.partial! user +json.users do + json.array! @users, :partial => "user", :as => :user end