refactor(routes): remove race/religion/ethnic/country routes, use /api/valueset instead
This commit is contained in:
parent
9769e1dfea
commit
c19847a812
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user