X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..82a4548ca878d6c597df4178e81fd4e16da7212e:/app/views/api/old_relations/history.json.jbuilder?ds=sidebyside diff --git a/app/views/api/old_relations/history.json.jbuilder b/app/views/api/old_relations/history.json.jbuilder index 311a80a86..944bed023 100644 --- a/app/views/api/old_relations/history.json.jbuilder +++ b/app/views/api/old_relations/history.json.jbuilder @@ -1,5 +1,5 @@ json.partial! "api/root_attributes" -json.elements(@elems) do |old_relation| - json.partial! old_relation +json.elements do + json.array! @elems, :partial => "old_relation", :as => :old_relation end