]> git.openstreetmap.org Git - rails.git/blob - app/views/note/list.json.jsonify
Drop with_format and user the new :formats render option instead
[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