Tenant Redirect
To enable this feature, uncomment the
Stancl\Tenancy\Features\TenantRedirect::classline in yourtenancy.featuresconfig.
A customer has signed up on your website, you have created a new tenant and now you want to redirect the customer to their website. You can use the tenant() method on Redirect, like this:
// tenant sign up controller
return redirect()->route('dashboard')->tenant($domain);