1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 18:34:04 +00:00

string instead of array

This commit is contained in:
Samuel Štancl 2019-10-12 14:35:19 +02:00
parent 75ede77750
commit eb7680ce67

View file

@ -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. */