mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 16:24:04 +00:00
Home route -> home url
This commit is contained in:
parent
92618e09a5
commit
4a17992957
2 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ class PreventAccessFromTenantDomains
|
|||
$is_a_tenant_route = in_array('tenancy', $request->route()->middleware());
|
||||
|
||||
if ($is_a_tenant_domain && ! $is_a_tenant_route) { // accessing web routes from tenant domains
|
||||
return redirect(config('tenancy.home_route'));
|
||||
return redirect(config('tenancy.home_url'));
|
||||
}
|
||||
|
||||
if ($is_an_exempt_domain && $is_a_tenant_route) { // accessing tenant routes on web domains
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue