Fix typo in path identification section (#166)

This commit is contained in:
lukinovec 2022-06-08 15:27:46 +02:00 committed by GitHub
parent 729c8392c7
commit fd67b92bbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ Records that contain **dots** in the `domain` column will be treated as domains/
Some applications will want to use a single domain, but use paths to identify the tenant. This would be when you want customers to use your branded product rather than giving them a whitelabel product that they can use on their own domains.
To do this, use the `Stancl\Tenancy\Middleware\InitializeTenancyByPath` middleware **and make sure your routes are prefixes with `/{tenant}`**.
To do this, use the `Stancl\Tenancy\Middleware\InitializeTenancyByPath` middleware **and make sure your routes are prefixed with `/{tenant}`**.
```php
use Stancl\Tenancy\Middleware\InitializeTenancyByPath;