Standard rb fixes

This commit is contained in:
2023-10-31 08:17:10 +11:00
parent 1d43f6ca59
commit c1d756ec6f
9 changed files with 13 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ module Admin
include Deps["commands.posts.update"]
def handle(req, res)
update.(params: req.params)
update.call(params: req.params)
res.redirect "/admin/posts/#{req.params[:id]}"
end
end