Search posts

This commit is contained in:
2023-11-24 22:37:31 +11:00
parent bb911e4951
commit bed50e9b7e
7 changed files with 130 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ module Adamantium
class Index < Action
include Deps["views.posts.index"]
def handle(req, res)
res.render index
res.render index, query: req.params[:q]
end
end
end