mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 20:34:03 +00:00
string instead of array
This commit is contained in:
parent
75ede77750
commit
eb7680ce67
1 changed files with 1 additions and 3 deletions
|
|
@ -80,9 +80,7 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
|
||||
$this->loadRoutesFrom(__DIR__ . '/routes.php');
|
||||
|
||||
$this->app->make(Kernel::class)->prependMiddleware([
|
||||
Middleware\InitializeTenancy::class,
|
||||
]);
|
||||
$this->app->make(Kernel::class)->prependMiddleware(Middleware\InitializeTenancy::class);
|
||||
|
||||
Route::middlewareGroup('tenancy', [
|
||||
/* Prevent access from tenant domains to central routes and vice versa. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue