Fix US-010: Route for control creation was calling store() instead of create()
This commit is contained in:
parent
44795310e1
commit
162805a038
@ -31,7 +31,7 @@ $routes->group('api', function ($routes) {
|
|||||||
$routes->get('control', 'Api\ControlApiController::index');
|
$routes->get('control', 'Api\ControlApiController::index');
|
||||||
$routes->get('control/(:num)', 'Api\ControlApiController::show/$1');
|
$routes->get('control/(:num)', 'Api\ControlApiController::show/$1');
|
||||||
$routes->get('control/(:num)/tests', 'Api\ControlApiController::getTests/$1');
|
$routes->get('control/(:num)/tests', 'Api\ControlApiController::getTests/$1');
|
||||||
$routes->post('control', 'Api\ControlApiController::store');
|
$routes->post('control', 'Api\ControlApiController::create');
|
||||||
$routes->patch('control/(:num)', 'Api\ControlApiController::update/$1');
|
$routes->patch('control/(:num)', 'Api\ControlApiController::update/$1');
|
||||||
$routes->delete('control/(:num)', 'Api\ControlApiController::delete/$1');
|
$routes->delete('control/(:num)', 'Api\ControlApiController::delete/$1');
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user