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