]> git.openstreetmap.org Git - rails.git/blob - app/views/api/notes/index.json.jsonify
Simplify partial rendering when the partial is named after the model
[rails.git] / app / views / api / notes / index.json.jsonify
1 json.type "FeatureCollection"
2
3 json.features(@notes) do |note|
4   json.ingest! render(note)
5 end