oops
This commit is contained in:
parent
c60d52c656
commit
3532c12e8e
|
@ -24,7 +24,7 @@ module Kaminari
|
|||
@theme = @options[:theme] ? "#{@options[:theme]}/" : ''
|
||||
@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[:num_pages] = @options[:total_pages]
|
||||
@options[:total_pages] = @options[:num_pages]
|
||||
# initialize the output_buffer for Context
|
||||
@output_buffer = ActionView::OutputBuffer.new
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue