Updated comment
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5fceef1dc3
commit
17a6a871ae
1 changed files with 2 additions and 1 deletions
|
@ -721,6 +721,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
]
|
]
|
||||||
)->name('api.locations.selectlist');
|
)->name('api.locations.selectlist');
|
||||||
|
|
||||||
|
// Users within a location
|
||||||
Route::get('{location}/users',
|
Route::get('{location}/users',
|
||||||
[
|
[
|
||||||
Api\LocationsController::class,
|
Api\LocationsController::class,
|
||||||
|
@ -729,7 +730,7 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
)->name('api.locations.viewusers');
|
)->name('api.locations.viewusers');
|
||||||
|
|
||||||
|
|
||||||
// Legacy URL for compatibility
|
// Get list of assets with a default location
|
||||||
Route::get('{location}/assets',
|
Route::get('{location}/assets',
|
||||||
[
|
[
|
||||||
Api\LocationsController::class,
|
Api\LocationsController::class,
|
||||||
|
|
Loading…
Add table
Reference in a new issue