mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-19 09:41:30 -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',
|
Route::resource('settings',
|
||||||
Api\SettingsController::class,
|
Api\SettingsController::class,
|
||||||
['names' => [
|
['names' => [
|
||||||
'index' => 'api.settings.index',
|
|
||||||
'show' => 'api.settings.show',
|
'show' => 'api.settings.show',
|
||||||
'update' => 'api.settings.update',
|
'update' => 'api.settings.update',
|
||||||
'store' => 'api.settings.store',
|
'store' => 'api.settings.store',
|
||||||
'destroy' => 'api.settings.destroy',
|
|
||||||
],
|
],
|
||||||
'except' => ['create', 'edit'],
|
'except' => ['create', 'edit', 'index', 'destroy'],
|
||||||
'parameters' => ['setting' => 'setting_id'],
|
'parameters' => ['setting' => 'setting_id'],
|
||||||
]
|
]
|
||||||
); // end settings API
|
); // end settings API
|
||||||
|
|
Loading…
Reference in a new issue