Skip to content

Commit

Permalink
Eliminate ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jul 19, 2013
1 parent 11a2fa4 commit 5390faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kaminari/helpers/action_view_extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def link_to_next_page(scope, name, options = {}, &block)
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
Expand Down

0 comments on commit 5390faa

Please sign in to comment.