From ee1d969104dc530f68bb7bade30700317cebeaf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Thu, 10 Oct 2019 20:11:56 +0200 Subject: [PATCH] API routes --- docs/source/v2/tenant-routes.blade.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/v2/tenant-routes.blade.md b/docs/source/v2/tenant-routes.blade.md index 6e875b7..3458842 100644 --- a/docs/source/v2/tenant-routes.blade.md +++ b/docs/source/v2/tenant-routes.blade.md @@ -21,6 +21,8 @@ Routes outside the `routes/tenant.php` file will not have the tenancy middleware If you want certain routes (perhaps API routes) to be multi-tenant, wrap them in a Route group with this middleware: +## API routes / custom route groups + ```php use Stancl\Tenancy\Middleware\InitializeTenancy;