mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
fixes #3 per_page is available in partial templates now
This commit is contained in:
parent
23186e5c9c
commit
f44afe5995
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ module Kaminari
|
|||
end
|
||||
|
||||
def paginate(scope, options = {}, &block)
|
||||
PaginationRenderer.new self, options.reverse_merge(:current_page => scope.current_page, :num_pages => scope.num_pages, :remote => false)
|
||||
PaginationRenderer.new self, options.reverse_merge(:current_page => scope.current_page, :num_pages => scope.num_pages, :per_page => scope.limit_value, :remote => false)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue