From 5390faa06feaf6b24e15d57626828c4fff29370c Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 19 Jul 2013 11:38:00 +0900 Subject: [PATCH] Eliminate ambiguity --- lib/kaminari/helpers/action_view_extension.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kaminari/helpers/action_view_extension.rb b/lib/kaminari/helpers/action_view_extension.rb index 70127c8..bc1d028 100644 --- a/lib/kaminari/helpers/action_view_extension.rb +++ b/lib/kaminari/helpers/action_view_extension.rb @@ -88,7 +88,7 @@ module Kaminari def page_entries_info(collection, options = {}) entry_name = if options[:entry_name] options[:entry_name] - elsif collection.empty? || collection.is_a?(PaginatableArray) + elsif collection.empty? || collection.is_a?(::Kaminari::PaginatableArray) 'entry' else if collection.respond_to? :model # DataMapper