{ per_page => 20, # how many entries per page
max => 5, # number of the last page
{ per_page => 20, # how many entries per page
max => 5, # number of the last page
common => [ # an array of hashes for each page
...,
{ active => 1, # set if this is the active page
common => [ # an array of hashes for each page
...,
{ active => 1, # set if this is the active page
The common list is kept arbitrary by design, so that the algorithm to display
the paginating controls can be changed by solely changing the
The common list is kept arbitrary by design, so that the algorithm to display
the paginating controls can be changed by solely changing the