This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
Error in cmf_routing_auto.yml example #841
Open
Description
The "Routing and Automatic Routing" tutorial says how to set up src/AppBundle/Resources/config/cmf_routing_auto.yml, but that configuration is in error. Specifically, the line:
uri_schema: /page/{title}
should be replaced with:
definitions:
- { uri_schema: '/post/{date}/{title}' }
The YmlFileLoader class (Symfony\Cmf\Component\RoutingAuto\Mapping\Loader\YmlFileLoader) requires the definitions key and throws an error when using the config shown in the docs.
Metadata
Metadata
Assignees
Labels
No labels