module ActiveAdmin::ResourceController::DataAccess

def find_resource

@returns [ActiveRecord::Base] An active record object.

method uses the finder method as defined in InheritedResources.
Does the actual work of finding a resource in the database. This
def find_resource
  scoped_collection.send(method_for_find, params[:id])
end