From f5eb95e16bc696a008e68cd081dcabe00e90800a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 17 Jul 2024 09:14:28 +0200 Subject: [PATCH] mention L11 difference --- source/docs/v3/routes.blade.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/docs/v3/routes.blade.md b/source/docs/v3/routes.blade.md index 32242a3..17c44f9 100644 --- a/source/docs/v3/routes.blade.md +++ b/source/docs/v3/routes.blade.md @@ -12,6 +12,8 @@ This package has a concept of central routes and tenant routes. Central routes a You may register central routes in `routes/web.php` or `routes/api.php` like you're used to. However, you need to make one small change to your RouteServiceProvider. +> Note: Since Laravel 11, there isn't a `RouteServiceProvider`, so you can instead wrap your central routes in a `Route::domain(...)->group(...)` call. See the quickstart guide for an example. + You don't want central routes — think landing pages and sign up forms — to be accessible on tenant domains. For that reason, register them in such a way that they're **only** accessible on your central domains: ```php