]> git.openstreetmap.org Git - rails.git/blob - app/views/note/list.rjs
Return GeoJSON for notes when JSON format is requested
[rails.git] / app / views / note / list.rjs
1 @notes.each do |note|
2   page.call "putAJAXMarker",
3             note.id, note.lon, note.lat,
4             note.flatten_comment("<hr />"),
5             note.status == "open" ? 0 : 1
6 end