Ruby 1️⃣.8️⃣ compat

This commit is contained in:
Akira Matsuda 2013-12-02 19:00:32 +09:00
parent 90915c8ea4
commit 1bd022c814
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module Kaminari
@template, @options = template, options
@theme = @options[:theme] ? "#{@options[:theme]}/" : ''
@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
# initialize the output_buffer for Context