"warning: instance variable @last not initialized"
This commit is contained in:
parent
c2681a4f0a
commit
82a38e07db
|
@ -25,6 +25,7 @@ module Kaminari
|
|||
@options[:current_page] = PageProxy.new @window_options.merge(@options), @options[:current_page], nil
|
||||
#FIXME for compatibility. remove num_pages at some time in the future
|
||||
@options[:total_pages] ||= @options[:num_pages]
|
||||
@last = nil
|
||||
# initialize the output_buffer for Context
|
||||
@output_buffer = ActionView::OutputBuffer.new
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue