mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:44:02 +00:00
prepare for public beta
This commit is contained in:
parent
79444723dd
commit
855ba91508
5 changed files with 12 additions and 11 deletions
|
|
@ -195,10 +195,11 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
* return RouteFacade::post('/livewire/update', $handle)->middleware(['web', 'universal']);
|
||||
* });
|
||||
*/
|
||||
if (InitializeTenancyByRequestData::inGlobalStack()) {
|
||||
FortifyRouteBootstrapper::$fortifyHome = 'dashboard';
|
||||
TenancyUrlGenerator::$prefixRouteNames = false;
|
||||
}
|
||||
|
||||
// if (InitializeTenancyByRequestData::inGlobalStack()) {
|
||||
// FortifyRouteBootstrapper::$fortifyHome = 'dashboard';
|
||||
// TenancyUrlGenerator::$prefixRouteNames = false;
|
||||
// }
|
||||
|
||||
if (tenancy()->globalStackHasMiddleware(config('tenancy.identification.path_identification_middleware'))) {
|
||||
TenancyUrlGenerator::$prefixRouteNames = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue