class ActiveAdmin::Resource

def route_instance_path

Returns the named route for an instance of this resource
def route_instance_path
  [route_prefix, controller.resources_configuration[:self][:route_instance_name], 'path'].compact.join('_').to_sym
end