]> git.openstreetmap.org Git - rails.git/blob - app/views/note/list.json.jsonify
Use jsonify to create JSON for notes so that it is properly formatted
[rails.git] / app / views / note / list.json.jsonify
1 json.type "FeatureCollection"
2
3 json.features(@notes) do |note|
4   json.ingest! render(:partial => "note", :object => note)
5 end