]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.rss.builder
Refactor a few tests to use changeset factories.
[rails.git] / app / views / notes / _note.rss.builder
index 900e7fd7cb328bfcb0e6e3b59ef2e8b4cafcc4b8..38c42f1ec4786de0dba3fd82469903ec8d88fca0 100644 (file)
@@ -13,9 +13,9 @@ xml.item do
   xml.guid note_url(note)
   xml.description render(:partial => "description", :object => note, :formats => [:html])
 
-  xml.author note.author.display_name if note.author
+  xml.dc :creator, note.author.display_name if note.author
 
-  xml.pubDate note.updated_at.to_s(:rfc822)
+  xml.pubDate note.created_at.to_s(:rfc822)
   xml.geo :lat, note.lat
   xml.geo :long, note.lon
   xml.georss :point, "#{note.lat} #{note.lon}"