Skip to content

Commit

Permalink
Removed index and destroy settinga API endpoints
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed Dec 12, 2024
1 parent f089d1f commit da33f18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -909,13 +909,11 @@
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
Expand Down

0 comments on commit da33f18

Please sign in to comment.