diff --git a/src/Providers/AlgerianCitiesServiceProvider.php b/src/Providers/AlgerianCitiesServiceProvider.php index 4ee7c3f..d9c0711 100644 --- a/src/Providers/AlgerianCitiesServiceProvider.php +++ b/src/Providers/AlgerianCitiesServiceProvider.php @@ -36,7 +36,7 @@ public function boot() __DIR__.'/../../config/algerian-cities.php' => config_path('algerian-cities.php'), ], 'config'); - if (config('algerian-cities.use_routes', true)) { + if (config('algerian-cities.api_enabled')) { $this->loadRoutesFrom(__DIR__.'/../../routes/api.php'); }