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