symfony-cmf/cmf-sandbox — comment on commit bdccf9de1f66fa9fca761c136bc9a51e7a9b0b82
File:  line 0
By starkj:

@dbu
just saw that you updated the StaticContent class.
the reset() function inside the method getRouteFromContent() of DoctrineRouter seems to work just with real arrays which leaded to an error all the time, as StaticContent->getRouts didn't return a real array but a collection.
so now i changed all return values of getRoutes() methods to $this->routes->toArray() and it works in my sandbox