Update tenant-maintenance-mode.blade.md

Add documentation to remove tenant from maintainance mode.
This commit is contained in:
Piyush Manolkar 2022-02-25 18:55:13 +05:30 committed by GitHub
parent ac23db540d
commit b05600b4dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.