mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
update comment per @uberbrady
This commit is contained in:
parent
03f091a77f
commit
97a6152ea9
|
@ -532,7 +532,9 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// pulling this out of resource route group to begin normalizing
|
// pulling this out of resource route group to begin normalizing for route-model binding.
|
||||||
|
// this would probably keep working with the resource route group, but the general practice is for
|
||||||
|
// the model name to be the parameter - and i think it's a good differentiation in the code while we convert the others.
|
||||||
Route::patch('/hardware/{asset}', [Api\AssetsController::class, 'update'])->name('api.assets.update');
|
Route::patch('/hardware/{asset}', [Api\AssetsController::class, 'update'])->name('api.assets.update');
|
||||||
|
|
||||||
Route::resource('hardware',
|
Route::resource('hardware',
|
||||||
|
|
Loading…
Reference in a new issue