]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/note/_note.rss.builder
Drop with_format and user the new :formats render option instead
[rails.git] / app / views / note / _note.rss.builder
index 856b4cc62183939f44115584e0813922c9eed2e6..90d575725615af3b4a96783537081753c328db2b 100644 (file)
@@ -9,7 +9,7 @@ xml.item do
 
   xml.link url_for(:controller => "browse", :action => "note", :id => note.id, :only_path => false)
   xml.guid url_for(:controller => "note", :action => "read", :id => note.id, :only_path => false)
-  xml.description  htmlize(note.flatten_comment("<br><br>"))
+  xml.description render(:partial => "description", :object => note, :formats => [ :html ])
   xml.author note.author_name
   xml.pubDate note.updated_at.to_s(:rfc822)
   xml.geo :lat, note.lat