Error in cmf_routing_auto.yml example
dmeigs opened this issue · 1 comments
dmeigs commented
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.
ElectricMaxxx commented
@dantleech can you do something here?