Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Documentation for route creation should be updated #13748

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
carlosdiasmarques opened this issue Jun 3, 2020 · 0 comments
Closed

Documentation for route creation should be updated #13748

carlosdiasmarques opened this issue Jun 3, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@carlosdiasmarques
Copy link

The section Creating Routes in YAML, XML or PHP Files should to be updated for Symfony 5.1.

The change symfony/recipes#705 removed the support to mutiple file extensions routing configuration, taking only on .yaml files by default. So, if you want to configure your routes using a routes.php or routes.xml, you will need to adapt the method configureRoutes on Kernel.php to work with the file extension you want.

The documentation do not mention that change, misleading the readers to think that, as in previous versions, they just need to create a config/routes.php file to make the routing work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants