From 1bd022c814b612412d0261eaf355994c6d4ca45e Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Mon, 2 Dec 2013 19:00:32 +0900 Subject: [PATCH] Ruby :one:.:eight: compat --- lib/kaminari/helpers/paginator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kaminari/helpers/paginator.rb b/lib/kaminari/helpers/paginator.rb index ca2cb68..a501b0d 100644 --- a/lib/kaminari/helpers/paginator.rb +++ b/lib/kaminari/helpers/paginator.rb @@ -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