Add assigned route

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-07 13:22:27 +01:00
parent 8acbfdd937
commit fbaf738454

View file

@ -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');
});