Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | public function boot() |
||
37 | { |
||
38 | $this->configureRateLimiting(); |
||
39 | |||
40 | $this->routes(function () { |
||
41 | Route::prefix('api') |
||
42 | ->middleware('api') |
||
43 | ->namespace($this->namespace) |
||
44 | ->group(base_path('routes/api.php')); |
||
45 | |||
46 | Route::middleware('web') |
||
47 | ->namespace($this->namespace) |
||
48 | ->group(base_path('routes/web.php')); |
||
49 | }); |
||
64 |