From 3f0d8808011a0801351892e82bb25b2e2e6f1302 Mon Sep 17 00:00:00 2001 From: Swapnil Bhavsar Date: Mon, 28 Sep 2020 17:58:04 +0530 Subject: [PATCH] Add example to use "tenant_route()" helper. (#80) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add example to use "tenant_route()" helper. * Update source/docs/v3/features/cross-domain-redirect.blade.md Co-authored-by: Samuel Štancl Co-authored-by: Samuel Štancl --- source/docs/v3/features/cross-domain-redirect.blade.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/docs/v3/features/cross-domain-redirect.blade.md b/source/docs/v3/features/cross-domain-redirect.blade.md index b5715c1..5f93e2e 100644 --- a/source/docs/v3/features/cross-domain-redirect.blade.md +++ b/source/docs/v3/features/cross-domain-redirect.blade.md @@ -12,4 +12,10 @@ Sometimes you may want to redirect the user to a specific route on a different d ```php return redirect()->route('home')->domain($domain); -``` \ No newline at end of file +``` + +You can also use the `tenant_route()` helper to redirect users to another domain. + +```php +return redirect(tenant_route($domain, 'home')); +```