Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2022-05-18 01:06:53 -07:00
commit 64d457425e

View file

@ -87,23 +87,25 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:'.config('app.
]
)->name('api.accessories.selectlist');
Route::resource('accessories',
Api\AccessoriesController::class,
['names' =>
[
'index' => 'api.accessories.index',
'show' => 'api.accessories.show',
'update' => 'api.accessories.update',
'store' => 'api.accessories.store',
'destroy' => 'api.accessories.destroy',
],
'except' => ['create', 'edit'],
'parameters' => ['accessory' => 'accessory_id'],
]
);
}); // end accessories group
Route::resource('accessories',
Api\AccessoriesController::class,
['names' =>
[
'index' => 'api.accessories.index',
'show' => 'api.accessories.show',
'update' => 'api.accessories.update',
'store' => 'api.accessories.store',
'destroy' => 'api.accessories.destroy',
],
'except' => ['create', 'edit'],
'parameters' => ['accessory' => 'accessory_id'],
]
);
/**
* Categpries API routes