Showing pagination with only single page using will_paginate

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-05-01T23:00:41Z Indexed on 2010/05/01 23:07 UTC
Read the original article Hit count: 205

Filed under:
|
|

I'm using will_paginate as standard, but it only shows the pagination controls (< 1 2 > etc) when there's more than one page to display. Normally, this would be what is wanted, but I want to see the pagination controls (for UI consistency and to get round an annoying CSS quirk in the system I'm working on) even when there's only 1 page to display (showing < 1 >).

Is this possible?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rails