end
xml.id note.id
+ xml.url note_url(note, :format => params[:format])
+ xml.comment_url comment_note_url(note, :format => params[:format])
+ xml.close_url close_note_url(note, :format => params[:format])
end
end
json.properties do
json.id note.id
+ json.url note_url(note, :format => params[:format])
+ json.comment_url comment_note_url(note, :format => params[:format])
+ json.close_url close_note_url(note, :format => params[:format])
json.date_created note.created_at
json.nearby note.nearby_place
json.status note.status
xml.note("lon" => note.lon, "lat" => note.lat) do
xml.id note.id
+ xml.url note_url(note, :format => params[:format])
+ xml.comment_url comment_note_url(note, :format => params[:format])
+ xml.close_url close_note_url(note, :format => params[:format])
xml.date_created note.created_at
xml.nearby note.nearby_place
xml.status note.status