Filter on route group only attach / #1247
Labels
bug
Verified issues on the current code behavior or pull requests that will fix them
waiting for info
Issues or pull requests that need further clarification from the author
Milestone
Hi CodeIgniter team:
The filter api-auth only works with GET request on base path:
| api/posts | get | \App\Controllers\Api\PostController::index works
| api/posts/new | get | \App\Controllers\Api\PostController::new doesn't work
| api/posts/(.)/edit | get | \App\Controllers\Api\PostController::edit/$1 doesn't work
| api/posts/(.) | get | \App\Controllers\Api\PostController::show/$1 doesn't work
| api/posts | post | \App\Controllers\Api\PostController::create doesn't work
| api/posts/(.) | put | \App\Controllers\Api\PostController::update/$1 doesn't work
| api/posts/(.) | delete | \App\Controllers\Api\PostController::delete/$1 doesn't work
I'm reviewing and I see that it works in the following way:
The text was updated successfully, but these errors were encountered: