Custom items per page in Active Admin
https://github.com/gregbell/active_admin/issues/210
Add instance variable @per_page to you app/admin/*.rb file
Example from link:
ActiveAdmin.register Post do
before_filter :only => :index do
@per_page = 100
end
end
Written by Kevin Rankin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#