]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.xml.builder
Remove nearby_place from the note model
[rails.git] / app / views / notes / _note.xml.builder
index 2a2b2ffc124f5a9c7eddcf47e5efe71f416955a5..a68946bb7a7e46ff9eeb83594052f3fb238ee183 100644 (file)
@@ -1,7 +1,9 @@
 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
 
   if note.status == "closed"