diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index d7368d25..9052bfc6 100755 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -72,7 +72,7 @@ class RouteServiceProvider extends ServiceProvider 'middleware' => 'api', 'namespace' => $this->namespace ], function ($router) { - foreach (glob(app_path('Http//Routes') . '/*.php') as $file) { + foreach (glob(app_path('Http//Routes//V1') . '/*.php') as $file) { $this->app->make('App\\Http\\Routes\\V1\\' . basename($file, '.php'))->map($router); } });