mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Fix typo in path identification section (#166)
This commit is contained in:
parent
729c8392c7
commit
fd67b92bbf
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
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
|
```php
|
||||||
use Stancl\Tenancy\Middleware\InitializeTenancyByPath;
|
use Stancl\Tenancy\Middleware\InitializeTenancyByPath;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue