diff --git a/bootstrap/app.php b/bootstrap/app.php index 8094907..681a03c 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -119,8 +119,10 @@ | */ -$app->group(['namespace' => 'App\Http\Controllers'], function ($app) { +$app->router->group([ + 'namespace' => 'App\Http\Controllers', +], function ($router) { require __DIR__.'/../routes/api.php'; }); -return $app; \ No newline at end of file +return $app;