Closed dneykov closed 3 years ago
Can't you just manually add the middleware with a route group in the tenant routes file? We also don't add a controller prefix (before laravel 8 at least) or any of the other stuff that routes/web.php gets.
I'm not specifically opposed to this, but I'm not sure it's really adding any benefit since it's already possible to do what you're asking.
This PR add possibility to set middlewares to tenant specific routes.
Reason
$errors
it's undefined. That is because dynamic loadedroutes.php
file is missingweb
group middleware. Applying the changes from that PR that problem is solved.