Files
adamantium/app/actions/feeds/rss.rb
2023-01-27 22:55:09 +11:00

15 lines
277 B
Ruby

module Adamantium
module Actions
module Feeds
class Rss < Action
include Deps["views.feeds.rss"]
def handle(req, res)
res.content_type = "application/rss+xml"
res.render rss, format: :xml
end
end
end
end
end