]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.xml.builder
Allow commenting on, and closing of, notes from the web site
[rails.git] / app / views / notes / _note.xml.builder
index 2a2b2ffc124f5a9c7eddcf47e5efe71f416955a5..c00b49c73ba95d5857c5801a5236bdced5e17a82 100644 (file)
@@ -1,5 +1,8 @@
 xml.note("lon" => note.lon, "lat" => note.lat) do
   xml.id note.id
 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
   xml.date_created note.created_at
   xml.nearby note.nearby_place
   xml.status note.status