class ActiveAdmin::Resource
def route_collection_path
Returns a symbol for the route to use to get to the
def route_collection_path route = super # Handle plural resources. if controller.resources_configuration[:self][:route_collection_name] == controller.resources_configuration[:self][:route_instance_name] route = route.to_s.gsub('_path', '_index_path').to_sym end route end