]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.gpx.builder
Include useful URLs in note responses
[rails.git] / app / views / notes / _note.gpx.builder
index 4b9aa9869234cf56f55e6b8cee0d20370e77ae8a..22d9283ef7a8aff3a8b8c0af4df3225864ae5db3 100644 (file)
@@ -11,5 +11,8 @@ xml.wpt("lon" => note.lon, "lat" => note.lat) do
     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