Skip to content

Commit 3e974fb

Browse files
committed
Merge pull request activeadmin#27 from matekb/master
Fix for issue activeadmin#25
2 parents e7b8744 + 1fa5ea3 commit 3e974fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_admin/mongoid/helpers/collection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module ActiveAdmin
22
module Helpers
33
module Collection
44
def collection_size(collection=collection)
5-
collection.count(true)
5+
collection.count()
66
end
77
end
88
end

0 commit comments

Comments
 (0)