]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset_comments/_comments.rss.builder
Fix new rubocop warnings
[rails.git] / app / views / changeset_comments / _comments.rss.builder
index 4136b24b492e94438f2f9ce3c0ad2746141853bb..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_formatted_s(:rfc822)
+    xml.pubDate comment.created_at.to_fs(:rfc822)
   end
 end