X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e660e609661edadc1ed5ad49d6e83e936b2f91cd..82cf356d85154057f840c1b3b413f49a65599690:/app/views/note/_note.rss.builder diff --git a/app/views/note/_note.rss.builder b/app/views/note/_note.rss.builder index 49f0a5171..90d575725 100644 --- a/app/views/note/_note.rss.builder +++ b/app/views/note/_note.rss.builder @@ -9,9 +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) - with_format(:html) do - xml.description render(:partial => "description", :object => note) - end + 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