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

16 lines
263 B
Ruby

module Adamantium
module Actions
module Pages
class Show < Action
include Deps["views.pages.show"]
def handle(req, res)
slug = req.params[:slug]
res.render show, slug: slug
end
end
end
end
end