]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset_comments/_comments.rss.builder
Use file_exists to provide File.exists? for ruby 3.2
[rails.git] / app / views / changeset_comments / _comments.rss.builder
index 8848b9a80ddc8328de356936fe8bd9936cea441f..59973965f617ac0972c834c3d4c0a35d7e253d7d 100644 (file)
@@ -11,6 +11,6 @@ comments.each do |comment|
 
     xml.dc :creator, comment.author.display_name if comment.author
 
-    xml.pubDate comment.created_at.to_s(:rfc822)
+    xml.pubDate comment.created_at.to_fs(:rfc822)
   end
 end