amatsuda/kaminari — Issue #183: Min pages
Author: ruanltbg
Created: 2011-12-07 12:43:09+00:00
State: open

Hi its a great new feature.

I need something like a min pages. The scenario:

I have 20 pages of comments and my window size of pagination is 4. If I am on page 1 I will just see more 4 pages in right side, if I am on the page 5 I will see 4 in left side + my page + 4 in right side.

With min pages (like: :min_pages => true) activate, when I am on page 1 I will see 8 more pages on right side. So I see 9 pages always

Think about that.

Thx