From c19847a8122f5e936b9b6e12a1a18690844fd461 Mon Sep 17 00:00:00 2001 From: mahdahar <89adham@gmail.com> Date: Wed, 11 Feb 2026 18:22:36 +0700 Subject: [PATCH] refactor(routes): remove race/religion/ethnic/country routes, use /api/valueset instead --- app/Config/Routes.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 7cb4334..d2b2a52 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -73,25 +73,6 @@ $routes->group('api', function ($routes) { }); // Master Data - $routes->group('race', function ($routes) { - $routes->get('/', 'Race::index'); - $routes->get('(:num)', 'Race::show/$1'); - }); - - $routes->group('country', function ($routes) { - $routes->get('/', 'Country::index'); - $routes->get('(:num)', 'Country::show/$1'); - }); - - $routes->group('religion', function ($routes) { - $routes->get('/', 'Religion::index'); - $routes->get('(:num)', 'Religion::show/$1'); - }); - - $routes->group('ethnic', function ($routes) { - $routes->get('/', 'Ethnic::index'); - $routes->get('(:num)', 'Ethnic::show/$1'); - }); // Location $routes->group('location', function ($routes) {