mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Eliminate ambiguity
This commit is contained in:
parent
11a2fa4cd9
commit
5390faa06f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue