def find_nearest_route(path)
			path_parts = path.parts.dup
			loop do
				route = routes.navigate(*path_parts)&.values&.grep(Route)&.first
				break route if route || path_parts.pop.nil?
			end
		end
def find_nearest_route(path)
			path_parts = path.parts.dup
			loop do
				route = routes.navigate(*path_parts)&.values&.grep(Route)&.first
				break route if route || path_parts.pop.nil?
			end
		end
Find the nearest route by path
 @param path [Flame::Path] path for route finding
 @return [Flame::Route, nil] return the found nearest route or `nil`