Style RSS feed

This commit is contained in:
2023-06-20 23:07:46 +10:00
parent 4cc59cdd04
commit 3fdb0a65e6
5 changed files with 62 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ module Adamantium
include Deps["views.feeds.rss"]
def handle(req, res)
res.content_type = "application/rss+xml"
res.content_type = "text/xml; charset=utf-8"
res.render rss, format: :xml
end
end