refactor(routes): remove race/religion/ethnic/country routes, use /api/valueset instead

This commit is contained in:
mahdahar 2026-02-11 18:22:36 +07:00
parent 9769e1dfea
commit c19847a812

View File

@ -73,25 +73,6 @@ $routes->group('api', function ($routes) {
}); });
// Master Data // 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 // Location
$routes->group('location', function ($routes) { $routes->group('location', function ($routes) {