mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 01:14:04 +00:00
Change default tenant model, write more tests, cleanup
This commit is contained in:
parent
c32f229dd5
commit
de53b81c0e
33 changed files with 210 additions and 90 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Stancl\Tenancy\Middleware\InitializeTenancyByDomain;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Tenant Routes
|
||||
|
|
@ -14,7 +16,7 @@
|
|||
*/
|
||||
|
||||
Route::group([
|
||||
'middleware' => InitializeTenancyByDomain::class,
|
||||
'middleware' => ['web', InitializeTenancyByDomain::class],
|
||||
'prefix' => '/app',
|
||||
], function () {
|
||||
Route::get('/', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue