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