I have APIs like this. I have a thousand of resources.
Route::apiResource('users', 'UserController')
The problem is I need to have also the OPTION verb enabled for all routes.
I could manually add option route to each route, but I am here asking if there is a way to do it automatically.
Actually the project is stalled on Laravel 5.6
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire