Support use autoRoute to map the path to route