amatsuda/kaminari — pull request #301 by zpieslak (2012-10-22 14:48:01+00:00)
Title: Add max_pages option (similar as in #88)

Hi,

I added max_pages as a model and a config option. It works similar as in #88. If you set it in your model or in config, the page numbers greater than this value, will be hidden.