Files
adamantium/slices/admin/actions/sessions/create.rb
2023-12-02 20:36:29 +11:00

16 lines
282 B
Ruby

module Admin
module Actions
module Sessions
class Create < Action
include Deps["commands.sessions.create"]
def handle(req, res)
create.call(email: req.params[:email])
res.redirect_to "/admin"
end
end
end
end
end