mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:54:03 +00:00
[2.2.0] Universal routes (#210)
* Universal routes * Fix bugs * Add universal MW group
This commit is contained in:
parent
518ac4947c
commit
ab04ef025b
2 changed files with 12 additions and 5 deletions
|
|
@ -92,6 +92,8 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
Middleware\PreventAccessFromTenantDomains::class,
|
||||
]);
|
||||
|
||||
Route::middlewareGroup('universal', []);
|
||||
|
||||
$this->loadRoutesFrom(__DIR__ . '/routes.php');
|
||||
|
||||
$this->app->singleton('globalUrl', function ($app) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue