Skip to content

Commit f9c9bf0

Browse files
franzykestancl
authored andcommitted
Fix typo (#161)
config `tenant_route_namespace` is used instead of `tenancy.tenant_route_namespace`
1 parent 14843b4 commit f9c9bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TenantRouteServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function map()
1414
if (! in_array(request()->getHost(), $this->app['config']['tenancy.exempt_domains'] ?? [])
1515
&& file_exists(base_path('routes/tenant.php'))) {
1616
Route::middleware(['web', 'tenancy'])
17-
->namespace($this->app['config']['tenant_route_namespace'] ?? 'App\Http\Controllers')
17+
->namespace($this->app['config']['tenancy.tenant_route_namespace'] ?? 'App\Http\Controllers')
1818
->group(base_path('routes/tenant.php'));
1919
}
2020
}

0 commit comments

Comments
 (0)