Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for issue #25 #27

Merged
merged 1 commit into from

2 participants

@matekb

Fix according to one of the posts in #25.

@elia elia merged commit 3e974fb into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 8, 2012
  1. @matekb
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/active_admin/mongoid/helpers/collection.rb
View
2  lib/active_admin/mongoid/helpers/collection.rb
@@ -2,7 +2,7 @@ module ActiveAdmin
module Helpers
module Collection
def collection_size(collection=collection)
- collection.count(true)
+ collection.count()
end
end
end
Something went wrong with that request. Please try again.