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

16 lines
263 B
Ruby

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