mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Add assigned route
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
8acbfdd937
commit
fbaf738454
|
@ -716,6 +716,13 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
'assets'
|
||||
]
|
||||
)->name('api.locations.viewassets');
|
||||
|
||||
Route::get('{location}/accessories/assigned',
|
||||
[
|
||||
Api\LocationsController::class,
|
||||
'assignedAccessories'
|
||||
]
|
||||
)->name('api.locations.assigned_accessories');
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue