]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/note/_note.gpx.builder
Drop with_format and user the new :formats render option instead
[rails.git] / app / views / note / _note.gpx.builder
index 91c0cbd98a5a6d19559e6af74e5c2369243f401f..4b9aa9869234cf56f55e6b8cee0d20370e77ae8a 100644 (file)
@@ -1,6 +1,6 @@
 xml.wpt("lon" => note.lon, "lat" => note.lat) do
   xml.desc do
-    xml.cdata! note.flatten_comment("<hr />")
+    xml.cdata! render(:partial => "description", :object => note, :formats => [ :html ])
   end
 
   xml.extension do