mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Removed index and destroy settinga API endpoints
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
f089d1f0a4
commit
da33f1815a
|
@ -909,13 +909,11 @@ Route::group(['prefix' => 'v1', 'middleware' => ['api', 'throttle:api']], functi
|
|||
Route::resource('settings',
|
||||
Api\SettingsController::class,
|
||||
['names' => [
|
||||
'index' => 'api.settings.index',
|
||||
'show' => 'api.settings.show',
|
||||
'update' => 'api.settings.update',
|
||||
'store' => 'api.settings.store',
|
||||
'destroy' => 'api.settings.destroy',
|
||||
],
|
||||
'except' => ['create', 'edit'],
|
||||
'except' => ['create', 'edit', 'index', 'destroy'],
|
||||
'parameters' => ['setting' => 'setting_id'],
|
||||
]
|
||||
); // end settings API
|
||||
|
|
Loading…
Reference in a new issue