mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 15:54:03 +00:00
Refactor models & config
This commit is contained in:
parent
f0ff8248e7
commit
2839f45196
9 changed files with 123 additions and 97 deletions
|
|
@ -110,7 +110,7 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
protected function mapRoutes()
|
||||
{
|
||||
if (file_exists(base_path('routes/tenant.php'))) {
|
||||
Route::namespace($this->app['config']['tenancy.tenant_route_namespace'] ?? 'App\Http\Controllers')
|
||||
Route::namespace('App\Http\Controllers')
|
||||
->group(base_path('routes/tenant.php'));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue