From 0d66cd00cb6fe9065873309b9f8958485efd2ad0 Mon Sep 17 00:00:00 2001 From: Piyush Manolkar <36564289+piyushmanolkar@users.noreply.github.com> Date: Fri, 25 Feb 2022 20:10:47 +0530 Subject: [PATCH] Update tenant-maintenance-mode.blade.md (#153) Add documentation to remove tenant from maintainance mode. --- source/docs/v3/tenant-maintenance-mode.blade.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/docs/v3/tenant-maintenance-mode.blade.md b/source/docs/v3/tenant-maintenance-mode.blade.md index ddf081d..1d4a70d 100644 --- a/source/docs/v3/tenant-maintenance-mode.blade.md +++ b/source/docs/v3/tenant-maintenance-mode.blade.md @@ -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.