Merge pull request #15959 from snipe/remove_settings_api_endpoints

This commit is contained in:
snipe 2024-12-12 16:53:15 +00:00 committed by GitHub
commit ab6363a124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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