shadowhand/pagination — pull request #27 by almirsarajcic (2013-05-16 07:43:46+00:00)
Title: Improve route usage

If there are some other params to be passed to the uri() method it will raise an exception, because we are passing only pagination parameter. This fixes it - it passes all current parameters and overwrites the pagination parameter.
Example:
/topics/14-something (two params - 'id' and 'name')
/topics/14-something/4 (three params - 'id', 'name' and 'page')