1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Ruby 1️⃣.8️⃣ compat

This commit is contained in:
Akira Matsuda 2013-12-02 19:00:32 +09:00
parent 90915c8ea4
commit 1bd022c814

View file

@ -27,7 +27,7 @@ module Kaminari
@template, @options = template, options @template, @options = template, options
@theme = @options[:theme] ? "#{@options[:theme]}/" : '' @theme = @options[:theme] ? "#{@options[:theme]}/" : ''
@window_options.merge! @options @window_options.merge! @options
@window_options[:current_page] = @options[:current_page] = PageProxy.new @window_options, @options[:current_page], nil @window_options[:current_page] = @options[:current_page] = PageProxy.new(@window_options, @options[:current_page], nil)
@last = nil @last = nil
# initialize the output_buffer for Context # initialize the output_buffer for Context