mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-01 00:47:27 -08:00
Merge pull request #15959 from snipe/remove_settings_api_endpoints
This commit is contained in:
commit
ab6363a124
|
@ -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