mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:44:04 +00:00
Fix typo (#161)
config `tenant_route_namespace` is used instead of `tenancy.tenant_route_namespace`
This commit is contained in:
parent
14843b4291
commit
f9c9bf088d
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class TenantRouteServiceProvider extends RouteServiceProvider
|
|||
if (! in_array(request()->getHost(), $this->app['config']['tenancy.exempt_domains'] ?? [])
|
||||
&& file_exists(base_path('routes/tenant.php'))) {
|
||||
Route::middleware(['web', 'tenancy'])
|
||||
->namespace($this->app['config']['tenant_route_namespace'] ?? 'App\Http\Controllers')
|
||||
->namespace($this->app['config']['tenancy.tenant_route_namespace'] ?? 'App\Http\Controllers')
|
||||
->group(base_path('routes/tenant.php'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue