Skip to content

Documentation for route creation should be updated #13748

@carlosdiasmarques

Description

@carlosdiasmarques

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy