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
We are upgrading our app to Symfony 4. The Symfony docs state that the action suffix is no longer needed for controller method names.
The first Symfony versions required that controller method names ended in Action (e.g. newAction(), showAction()). This suffix became optional when annotations were introduced for controllers. In modern Symfony applications this suffix is neither required nor recommended, so you can safely remove it.
We are upgrading our app to Symfony 4. The Symfony docs state that the action suffix is no longer needed for controller method names.
The first Symfony versions required that controller method names ended in Action (e.g. newAction(), showAction()). This suffix became optional when annotations were introduced for controllers. In modern Symfony applications this suffix is neither required nor recommended, so you can safely remove it.
Our controller methods extend AbstractFosRestController.
When removing the Action suffix and run bin/console debug:route, I get an error.
Are you planning to update the source code to comply with this Symfony recommendation?
The text was updated successfully, but these errors were encountered: