From 52a8891dbbcb70af6dfccd3447a9dc38cc7527a4 Mon Sep 17 00:00:00 2001 From: n4ss1m Date: Wed, 30 Oct 2024 09:38:14 +0100 Subject: [PATCH] typo fix --- src/Providers/AlgerianCitiesServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }