API routes

This commit is contained in:
Samuel Štancl 2019-10-10 20:11:56 +02:00
parent fead4e8930
commit ee1d969104

View file

@ -21,6 +21,8 @@ Routes outside the `routes/tenant.php` file will not have the tenancy middleware
If you want certain routes (perhaps API routes) to be multi-tenant, wrap them in a Route group with this middleware:
## API routes / custom route groups
```php
use Stancl\Tenancy\Middleware\InitializeTenancy;