update comment per @uberbrady

This commit is contained in:
spencerrlongg 2024-04-25 17:47:55 -05:00
parent 03f091a77f
commit 97a6152ea9

View file

@ -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::resource('hardware',