createRouteFromPath

fun Route.createRouteFromPath(path: String): Route

Creates a routing entry for specified path.