Corrected the settings routing config

This commit is contained in:
Alex Tselegidis 2021-11-06 15:04:26 +01:00
parent 8603a8ae33
commit 0a88442aa2

View file

@ -83,13 +83,11 @@ route_api_resource($route, 'services', 'api/v1/');
route_api_resource($route, 'unavailabilities', 'api/v1/'); route_api_resource($route, 'unavailabilities', 'api/v1/');
$route['api/v1/settings']['get'] = 'api/v1/settings_api_v1/get'; $route['api/v1/settings']['get'] = 'api/v1/settings_api_v1/index';
$route['api/v1/settings/(:any)']['get'] = 'api/v1/settings_api_v1/get/$1'; $route['api/v1/settings/(:any)']['get'] = 'api/v1/settings_api_v1/show/$1';
$route['api/v1/settings/(:any)']['put'] = 'api/v1/settings_api_v1/put/$1'; $route['api/v1/settings/(:any)']['put'] = 'api/v1/settings_api_v1/update/$1';
$route['api/v1/settings/(:any)']['delete'] = 'api/v1/settings_api_v1/delete/$1';
$route['api/v1/availabilities']['get'] = 'api/v1/availabilities_api_v1/get'; $route['api/v1/availabilities']['get'] = 'api/v1/availabilities_api_v1/get';