symfony-cmf/RoutingExtraBundle — pull request #31 by dantleech (2012-11-17 19:55:29+00:00)
Title: Route repository by service ID

Hi,

This is a variation of my previous PR, it turns out that setting the repository_class is not enough as the existing service definition also enforces **setPrefix** and also, as it is a service itself, does not allow me to use a Doctrine Document Repository as a Route Repository.

The PR makes symfony_cmf_route_repository an alias defaulting to the previous value but the config allows overriding, have done the same for content_repository.

Have not got round to testing it out in battle yet, but guessing it will be OK -- will update :)