whiteoctober/WhiteOctoberPagerfantaBundle — Issue #27: Improve the retrieving of the route parameters for Symfony 2.1
Author: stof
Created: 2011-11-28 11:23:08+00:00
State: open

Currently, Pagerfanta compiles the route to find the parameters needed to generate the url. This is both inefficient (``getRouteCollection`` triggers the routing loaders) and incompatible with both existing *I18nRoutingBundle (as they do some magic when generating the url and matching the route which is bypassed by this bundle).
In the master branch, Symfony now defines a ``_route_params`` atribute in the Request containing the attributes used in the url. It would be a good idea to create a branch (or a tag) dedicated to the Symfony 2.0 compatibility and then to clean the code in the master branch for Symfony master.