]> git.openstreetmap.org Git - rails.git/blob - app/views/api/notes/index.json.jbuilder
Use map rather than foo = [] ... each ... foo.push(bar)
[rails.git] / app / views / api / notes / index.json.jbuilder
1 json.type "FeatureCollection"
2
3 json.features(@notes) do |note|
4   json.partial! note
5 end