Fixed company resource route

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-06-29 23:46:25 -07:00
parent 86b3f8349a
commit df7e0e5630

View file

@ -159,7 +159,7 @@ Route::group(['prefix' => 'v1','namespace' => 'Api', 'middleware' => 'auth:api']
'destroy' => 'api.companies.destroy' 'destroy' => 'api.companies.destroy'
], ],
'except' => ['create', 'edit'], 'except' => ['create', 'edit'],
'parameters' => ['component' => 'component_id'] 'parameters' => ['company' => 'company_id']
] ]
); // Companies resource ); // Companies resource