X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3b56c005ebac1e5aaef8890057767e1955bb4948..fe81ac334cfef04751a959297dca24e472cb025f:/app/views/api/users/index.json.jbuilder?ds=inline 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