lib/kaminari/helpers/paginator.rb in kaminari-0.16.1 vs lib/kaminari/helpers/paginator.rb in kaminari-0.16.2

- old
+ new

@@ -11,10 +11,9 @@ # so that this instance can actually "render" include ::ActionView::Context def initialize(template, options) #:nodoc: #FIXME for compatibility. remove num_pages at some time in the future - options[:total_pages] ||= options[:num_pages] options[:num_pages] ||= options[:total_pages] @window_options = {}.tap do |h| h[:window] = options.delete(:window) || options.delete(:inner_window) || Kaminari.config.window outer_window = options.delete(:outer_window) || Kaminari.config.outer_window