Your Account
Community
Topics (Upcoming)
More |
View story
When the pager_navigation function does not create the correct link…
http://feeds.feedburner.com/~r/symfony/planet/~3/267319549/
Submitted by
narko
4 months, 4 weeks, 1 day, 6 hours agoIf you have used a route name in the call to this function, it will be parsed based on your routing.yml file, this means that if you don’t have a :page variable listed (and you probably don’t) the route will ignore the page argument that the pager function tries to add.
The easy solution is to add /* to the end of your routing rule, so that any other parameters are allowed...
Tags: symfony
|