mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:14:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
adc1b5e73e
commit
75ede77750
1 changed files with 1 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ use Illuminate\Cache\CacheManager;
|
||||||
use Illuminate\Contracts\Http\Kernel;
|
use Illuminate\Contracts\Http\Kernel;
|
||||||
use Illuminate\Support\Facades\Route;
|
use Illuminate\Support\Facades\Route;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
use Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains;
|
|
||||||
use Stancl\Tenancy\TenancyBootstrappers\FilesystemTenancyBootstrapper;
|
use Stancl\Tenancy\TenancyBootstrappers\FilesystemTenancyBootstrapper;
|
||||||
|
|
||||||
class TenancyServiceProvider extends ServiceProvider
|
class TenancyServiceProvider extends ServiceProvider
|
||||||
|
|
@ -86,7 +85,7 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Route::middlewareGroup('tenancy', [
|
Route::middlewareGroup('tenancy', [
|
||||||
/** Prevent access from tenant domains to central routes and vice versa. */
|
/* Prevent access from tenant domains to central routes and vice versa. */
|
||||||
Middleware\PreventAccessFromTenantDomains::class,
|
Middleware\PreventAccessFromTenantDomains::class,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue