allow 500 items per page

This commit is contained in:
wvengen 2013-08-12 14:49:23 +02:00
parent 0fa9bebac9
commit f71b78665e
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ module ApplicationHelper
# Link-collection for per_page-options when using the pagination-plugin
def items_per_page(options = {})
per_page_options = options[:per_page_options] || [20, 50, 100]
per_page_options = options[:per_page_options] || [20, 50, 100, 500]
current = options[:current] || @per_page
params = params || {}