BaseController#index: do not paginate if @resource_per_page is nil