This commit is contained in:
Akira Matsuda 2012-05-29 22:15:58 +09:00
parent c60d52c656
commit 3532c12e8e
1 changed files with 1 additions and 1 deletions

View File

@ -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