diff --git a/README.md b/README.md index 6506de85..6f2e3977 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ Open `app/Http/Kernel.php` and make the middleware top priority, so that it gets ```php protected $middlewarePriority = [ \Stancl\Tenancy\Middleware\InitializeTenancy::class, + // ... +]; ``` When a tenant route is visited, but the tenant can't be identified, an exception is thrown. If you want to change this behavior, to a redirect for example, add this to your `app/Providers/AppServiceProvider.php`'s `boot()` method.