* Define the "api" routes for the application. * * These routes are typically stateless. * * @return void */
()
| 64 | * @return void |
| 65 | */ |
| 66 | protected function mapApiRoutes() |
| 67 | { |
| 68 | Route::prefix('api') |
| 69 | ->middleware('api') |
| 70 | ->namespace($this->namespace) |
| 71 | ->group(base_path('routes/api.php')); |
| 72 | } |
| 73 | } |