From 5071ff5ba7e7e6520a58f4803945021b181f289e Mon Sep 17 00:00:00 2001 From: Vu Quang Tam Date: Fri, 18 Sep 2020 22:43:04 +0700 Subject: [PATCH] Update quickstart.blade.md add guide to add mapping central domain (#83) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update quickstart.blade.md * Update quickstart.blade.md Update notice for Laravel 8 * Laravel 8 note Co-authored-by: Samuel Ć tancl --- source/docs/v3/quickstart.blade.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/docs/v3/quickstart.blade.md b/source/docs/v3/quickstart.blade.md index 2df71b9..bdb980a 100644 --- a/source/docs/v3/quickstart.blade.md +++ b/source/docs/v3/quickstart.blade.md @@ -112,6 +112,18 @@ protected function centralDomains(): array } ``` +If you're using Laravel 8, call these methods manually from your `RouteServiceProvider`'s `boot()` method, instead of the `$this->routes()` calls. + +```php +public function boot() +{ + $this->configureRateLimiting(); + + $this->mapWebRoutes(); + $this->mapApiRoutes(); +} +``` + ## Central domains {#central-domains} Now we need to actually specify the central domains. A central domain is a domain that serves your "central app" content, e.g. the landing page where tenants sign up. Open the `config/tenancy.php` file and add them in: