From 6ec4b02b146b005280f0ce71c3bf09ac4a8345d4 Mon Sep 17 00:00:00 2001 From: Vu Quang Tam Date: Thu, 17 Sep 2020 10:49:00 +0700 Subject: [PATCH] Update quickstart.blade.md --- source/docs/v3/quickstart.blade.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/docs/v3/quickstart.blade.md b/source/docs/v3/quickstart.blade.md index 89f4b5a..d443e40 100644 --- a/source/docs/v3/quickstart.blade.md +++ b/source/docs/v3/quickstart.blade.md @@ -85,6 +85,13 @@ In other words, it creates & migrates the tenant's database after he's created We'll make a small change to the `app/Providers/RouteServiceProvider.php` file. Specifically, we'll make sure that central routes are registered on central domains only. ```php +public function boot() +{ + $this->configureRateLimiting(); + $this->mapWebRoutes(); // Add this to boot + $this->mapApiRoutes(); // Add this to boot +} +..... protected function mapWebRoutes() { foreach ($this->centralDomains() as $domain) {