X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c2c58921122318a63828bf63a52bf1dd8d0fbd2b..02e603119d22f988048309f9578d46a462bf2919:/app/views/api/changesets/index.json.jbuilder diff --git a/app/views/api/changesets/index.json.jbuilder b/app/views/api/changesets/index.json.jbuilder index f52d69865..ce094fa34 100644 --- a/app/views/api/changesets/index.json.jbuilder +++ b/app/views/api/changesets/index.json.jbuilder @@ -1,5 +1,5 @@ json.partial! "api/root_attributes" -json.changesets(@changesets) do |changeset| - json.partial! changeset +json.changesets do + json.array! @changesets, :partial => "changeset", :as => :changeset end