We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcea564 commit 28abb8dCopy full SHA for 28abb8d
routes/api.php
@@ -577,6 +577,8 @@
577
// the model name to be the parameter - and i think it's a good differentiation in the code while we convert the others.
578
Route::patch('/hardware/{asset}', [Api\AssetsController::class, 'update'])->name('api.assets.update');
579
580
+ Route::put('/hardware/{asset}', [Api\AssetsController::class, 'update'])->name('api.assets.put-update');
581
+
582
Route::resource('hardware',
583
Api\AssetsController::class,
584
['names' => [
0 commit comments