Update source/docs/v3/features/cross-domain-redirect.blade.md

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
Swapnil Bhavsar 2020-09-27 23:27:50 +05:30 committed by GitHub
parent e98928e697
commit ea5ca6d7c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'));