From: Tom Hughes Date: Wed, 24 Apr 2013 09:20:35 +0000 (+0100) Subject: Fix exeption in GeoRSS formatting for notes X-Git-Tag: live~5112 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/36bd2468e0b7610210fde13911e133714dc8568a Fix exeption in GeoRSS formatting for notes --- diff --git a/app/views/notes/_note.rss.builder b/app/views/notes/_note.rss.builder index fbd217beb..a1ed7d378 100644 --- a/app/views/notes/_note.rss.builder +++ b/app/views/notes/_note.rss.builder @@ -14,7 +14,7 @@ xml.item do xml.description render(:partial => "description", :object => note, :formats => [ :html ]) if note.author - xml.author note.author_display_name + xml.author note.author.display_name end xml.pubDate note.updated_at.to_s(:rfc822)