diff --git a/routes/api.php b/routes/api.php index c8f05d2f19..6e52276646 100644 --- a/routes/api.php +++ b/routes/api.php @@ -159,7 +159,7 @@ Route::group(['prefix' => 'v1','namespace' => 'Api', 'middleware' => 'auth:api'] 'destroy' => 'api.companies.destroy' ], 'except' => ['create', 'edit'], - 'parameters' => ['component' => 'component_id'] + 'parameters' => ['company' => 'company_id'] ] ); // Companies resource