5 json.coordinates [ note.lon, note.lat ]
10 json.url note_url(note, :format => params[:format])
11 json.comment_url comment_note_url(note, :format => params[:format])
12 json.close_url close_note_url(note, :format => params[:format])
13 json.date_created note.created_at
14 json.status note.status
15 json.closed_at note.closed_at if note.status == "closed"
17 json.comments(note.comments) do |comment|
18 json.date comment.created_at
19 json.uid comment.author.id unless comment.author.nil?
20 json.user comment.author.display_name unless comment.author.nil?
21 json.action comment.event
22 json.text comment.body unless comment.body.nil?