Files
adamantium/slices/main/actions/posts/index.rb

13 lines
234 B
Ruby

module Main
module Actions
module Posts
class Index < Action
include Deps["views.posts.index"]
def handle(req, res)
res.render index, query: req.params[:q]
end
end
end
end
end