You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
php bin/console debug:router
----------------- -------- -------- ------ --------------------------
Name Method Scheme Host Path
----------------- -------- -------- ------ --------------------------
_preview_error ANY ANY ANY /_error/{code}.{_format}
app_user_index GET ANY ANY /user/{id}
app_user_edit POST ANY ANY /user/{id}/edit
app_user_delete DELETE ANY ANY /user/{id}/delete
----------------- -------- -------- ------ --------------------------
php bin/console debug:router --show-controllers
----------------- -------- -------- ------ -------------------------- -----------------------------------------
Name Method Scheme Host Path Controller
----------------- -------- -------- ------ -------------------------- -----------------------------------------
_preview_error ANY ANY ANY /_error/{code}.{_format} error_controller::preview()
app_user_index GET ANY ANY /user/{id} App\Controller\UserController::index()
app_user_edit POST ANY ANY /user/{id}/edit App\Controller\UserController::edit()
app_user_delete DELETE ANY ANY /user/{id}/delete App\Controller\UserController::delete()
----------------- -------- -------- ------ -------------------------- -----------------------------------------
php bin/console debug:router --show-controllers --show-aliases
----------------- -------- -------- ------ -------------------------- ----------------------------------------- ---------------------------------------
Name Method Scheme Host Path Controller Aliases
----------------- -------- -------- ------ -------------------------- ----------------------------------------- ---------------------------------------
_preview_error ANY ANY ANY /_error/{code}.{_format} error_controller::preview()
app_user_index GET ANY ANY /user/{id} App\Controller\UserController::index() App\Controller\UserController::index
app_user_edit POST ANY ANY /user/{id}/edit App\Controller\UserController::edit() App\Controller\UserController::edit
app_user_delete DELETE ANY ANY /user/{id}/delete App\Controller\UserController::delete() App\Controller\UserController::delete
----------------- -------- -------- ------ -------------------------- ----------------------------------------- ---------------------------------------
php bin/console router:match /user/10/edit
Route "app_user_edit" almost matches but method "GET" does not match any of the required methods (POST)
[ERROR] None of the routes match the path "/user/10/edit"