Fix exeption in GeoRSS formatting for notes
authorTom Hughes <tom@compton.nu>
Wed, 24 Apr 2013 09:20:35 +0000 (10:20 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 24 Apr 2013 09:20:35 +0000 (10:20 +0100)
app/views/notes/_note.rss.builder

index fbd217beb75f94e1b9801ef724cac75aadb675fc..a1ed7d3784ed4a1e9b2394c79f60ccf4b58ad59e 100644 (file)
@@ -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)