Initial commit
This commit is contained in:
14
app/actions/feeds/rss.rb
Normal file
14
app/actions/feeds/rss.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user