title: Customizing Number of Page Links Rendered With will_paginate?
body: <p>I'm using the will_paginate gem for my Rails project and it's working beautifully.  Unfortunately, on paginated result sets with a larger number of pages, the link section is too wide.  Instead of:</p>
  
  <p><code>« Previous 1 2 … 5 6 7 8 9 10 11 12 13 … 18 19 Next »</code></p>
  
  <p>I would like to show:  </p>
  
  <p><code>« Previous 1 2 … 5 6 7 8 9 … 18 19 Next »</code></p>
  
  <p>How can I reduce the number of page links being rendered?  I looked at the will_paginate docs on github but couldn't find a solution.  </p>
  
  <p>Thanks!
  Moe</p>