Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #12 from jpmckinney/resource_deprecated

use #resource_class (#resource is deprecated)
  • Loading branch information...
commit d3d05ee9f005a01b7e19b4a5c98ee912f4e5a263 2 parents 9c877bb + 5ac84f5
@elia elia authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/active_admin/mongoid/resource.rb
View
2  lib/active_admin/mongoid/resource.rb
@@ -4,7 +4,7 @@
ActiveAdmin::Resource # autoload
class ActiveAdmin::Resource
def resource_table_name
- resource.collection_name
+ resource_class.collection_name
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.