Skip to content

Commit 1fa5ea3

Browse files
committed
fixes activeadmin#25 according to ivoreis comment.
1 parent e7b8744 commit 1fa5ea3

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)