mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
Update tenant-maintenance-mode.blade.md (#153)
Add documentation to remove tenant from maintainance mode.
This commit is contained in:
parent
ac23db540d
commit
0d66cd00cb
1 changed files with 5 additions and 0 deletions
|
|
@ -24,6 +24,11 @@ This will let you use the following method on each tenant object:
|
|||
$tenant->putDownForMaintenance();
|
||||
```
|
||||
|
||||
To remove specific tenant from maintainance mode:
|
||||
```php
|
||||
$tenant->update(['maintenance_mode' => null]);
|
||||
```
|
||||
|
||||
## Middleware {#middleware}
|
||||
|
||||
You will also need to use the `Stancl\Tenancy\Middleware\CheckTenantForMaintenanceMode` middleware on your tenant routes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue