Remove an unused variable

closes #771
This commit is contained in:
Yuki Nishijima 2016-01-10 11:54:04 +00:00
parent fe04b7cf97
commit 282b212529
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module Kaminari
# * <tt>:param_name</tt> - parameter name for page number in the links (:page by default)
# * <tt>:remote</tt> - Ajax? (false by default)
# * <tt>:ANY_OTHER_VALUES</tt> - Any other hash key & values would be directly passed into each tag as :locals value.
def paginate(scope, options = {}, &block)
def paginate(scope, options = {})
options[:total_pages] ||= options[:num_pages] || scope.total_pages
paginator = Kaminari::Helpers::Paginator.new(self, options.reverse_merge(:current_page => scope.current_page, :per_page => scope.limit_value, :remote => false))