fixes #7931 - use controller_path instead of name in find_resource