symfony-cmf/symfony-cmf — Issue #132: allow menu entries to point to content routes
Author: dbu
Created: 2012-01-12 10:24:01+00:00
State: open
Labels: menu

currently a menu item can either do the things of KnpMenuBundle (including referencing a symfony route) or reference a content.
https://github.com/symfony-cmf/symfony-cmf/blob/master/src/Symfony/Cmf/Bundle/MenuBundle/Document/MenuItem.php#L35

we should add the possibility to reference a content route with phpcr-odm. this would handle the case where there is no content node but just a route specifying an explicit controller.
however, we have to be careful to make this work even if the ChainRoutingBundle is not in the namespace, to not create a hard dependency for people who don't use that.

/cc @uwej711