mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-01 04:12:22 +03:00
Corrected the settings routing config
This commit is contained in:
parent
8603a8ae33
commit
0a88442aa2
1 changed files with 3 additions and 5 deletions
|
@ -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';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue