]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.rss.builder
Rework the generation of descriptions in the notes RSS feed
[rails.git] / 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)