Thanks a alot for the bootstrap-will_paginate gem. Its exactly what I was looking for.
When I tried it, the next/previous buttons were not shown correctly when passing the :page_links => false option.
will_paginate provides the option :page_links => false, which makes only the next and previous button is beein rendered (not the page numbers inbetween).
This commit fixes a broken layout if the option is set to false.
Thanks a alot for the bootstrap-will_paginate gem. Its exactly what I was looking for.
When I tried it, the next/previous buttons were not shown correctly when passing the :page_links => false option.
will_paginate provides the option :page_links => false, which makes only the next and previous button is beein rendered (not the page numbers inbetween).
This commit fixes a broken layout if the option is set to false.
What do you think about it?