diff --git a/routes/web.php b/routes/web.php index bb539c7..840db36 100644 --- a/routes/web.php +++ b/routes/web.php @@ -272,7 +272,7 @@ $router->group(['prefix' => 'api', 'middleware' => 'cors'], function () use ($ro $router->get('/task/edit/{id}', 'ActivityController@edit'); $router->put('/task/{id}', 'ActivityController@update'); $router->put('/task/update-regular/{id}', 'ActivityController@updateRegular'); - $router->delete('/task/{id}/{company_id}', 'ActivityController@delete'); + $router->delete('/task/{id}', 'ActivityController@delete'); $router->get('/task/get-update/{id}', 'ActivityController@getUpdate'); $router->post('/tmp-import/upload', 'ActivityController@uploadTmpImport');