]> git.openstreetmap.org Git - rails.git/blob - app/views/api/old_ways/history.json.jbuilder
Jbuilder: render collections of partials
[rails.git] / app / views / api / old_ways / history.json.jbuilder
1 json.partial! "api/root_attributes"
2
3 json.elements do
4   json.array! @elems, :partial => "old_way", :as => :old_way
5 end