symfony-cmf/RoutingBundle — pull request #183 by dragonwize (2013-10-02 22:29:36+00:00)
Title: [ORM] getRouteByName is supposed to return a single route

The ORM provider getRouteByName method is returning an array instead of a single instance of a route. This breaks the url generator when trying to build a path by passing the route name.

The patch simply changes findBy to findOneBy to fix this.