Customizing Number of Page Links Rendered With will_paginate?
Use the :inner_window
option:
<%= will_paginate stuff, :inner_window => 2 %>
You can see all the options right here.
Use the :inner_window
option:
<%= will_paginate stuff, :inner_window => 2 %>
You can see all the options right here.