mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
64d457425e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue