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