mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Fixed company resource route
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
86b3f8349a
commit
df7e0e5630
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue