Skip to content
Browse files

"warning: instance variable @last not initialized"

  • Loading branch information...
1 parent c2681a4 commit 82a38e07db1ca1598c8daf073a8f6be22ae714d6 @amatsuda committed Jun 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/kaminari/helpers/paginator.rb
View
1 lib/kaminari/helpers/paginator.rb
@@ -25,6 +25,7 @@ def initialize(template, options) #:nodoc:
@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[:total_pages] ||= @options[:num_pages]
+ @last = nil
# initialize the output_buffer for Context
@output_buffer = ActionView::OutputBuffer.new
end

0 comments on commit 82a38e0

Please sign in to comment.
Something went wrong with that request. Please try again.