mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
make apis first & consolidate to a single method (#161)
https://laracasts.com/discuss/channels/code-review/laravel-8-route-problem
This commit is contained in:
parent
32235fa106
commit
550e0f4383
1 changed files with 4 additions and 2 deletions
|
|
@ -119,8 +119,10 @@ public function boot()
|
|||
{
|
||||
$this->configureRateLimiting();
|
||||
|
||||
$this->mapWebRoutes();
|
||||
$this->routes(function () {
|
||||
$this->mapApiRoutes();
|
||||
$this->mapWebRoutes();
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue