primetheus/li3_paginate — Issue #9: Pagination Broken in latest Lithium?
Author: techxplorer
Created: 2011-11-01 00:06:03+00:00
State: open

Hi,

I updated to the latest Lithium from github yesterday and found that the pagination was broken. Using the example route I get the following error when the plugin tries to add the pagination links to the page:

Exception
lithium\net\http\RoutingException (code 500)

No parameter match found for URL `('page' => 1, 'controller' => 'my_controller', 'args' => ( ), 'action' => 'index')`.

Source
/path/to/web/app/libraries/lithium/net/http/Router.php: 239

The route I have configured is as follows:

// add a route for the pagination helper
Router::connect('/{:controller}/{:action}/page:{:page:[0-9]+}');

Any thoughts?