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

Eliminate ambiguity

This commit is contained in:
Akira Matsuda 2013-07-19 11:38:00 +09:00
parent 11a2fa4cd9
commit 5390faa06f

View file

@ -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