Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed May 29, 2012
1 parent c60d52c commit 3532c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kaminari/helpers/paginator.rb
Expand Up @@ -24,7 +24,7 @@ def initialize(template, options) #:nodoc:
@theme = @options[:theme] ? "#{@options[:theme]}/" : '' @theme = @options[:theme] ? "#{@options[:theme]}/" : ''
@options[:current_page] = PageProxy.new @window_options.merge(@options), @options[:current_page], nil @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 #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 # initialize the output_buffer for Context
@output_buffer = ActionView::OutputBuffer.new @output_buffer = ActionView::OutputBuffer.new
end end
Expand Down

0 comments on commit 3532c12

Please sign in to comment.