mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Update source/docs/v3/features/cross-domain-redirect.blade.md
Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
parent
e98928e697
commit
ea5ca6d7c5
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ Sometimes you may want to redirect the user to a specific route on a different d
|
||||||
return redirect()->route('home')->domain($domain);
|
return redirect()->route('home')->domain($domain);
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use the `tenant_route()` helper to redirect users between domains. Which also works when redirecting the user from the central domain to the tenant domain.
|
You can also use the `tenant_route()` helper to redirect users to another domain.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
return redirect(tenant_route($domain, 'home'));
|
return redirect(tenant_route($domain, 'home'));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue