]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/_note.rss.builder
Add tests to ensure tokens are revoked
[rails.git] / app / views / api / notes / _note.rss.builder
index 3e562d1a20365ea0aee61961743b033489bcd0ee..968b4dc672363e0c82835e19a60f46717a9cca33 100644 (file)
@@ -15,7 +15,7 @@ xml.item do
 
   xml.dc :creator, note.author.display_name if note.author
 
-  xml.pubDate note.created_at.to_formatted_s(:rfc822)
+  xml.pubDate note.created_at.to_fs(:rfc822)
   xml.geo :lat, note.lat
   xml.geo :long, note.lon
   xml.georss :point, "#{note.lat} #{note.lon}"