routes
A sequence of all routes registered with this router.
Users may want to filter out dynamic routes from the final list. Doing that looks like this:
ctx.router.routes.filter { !it.isDynamic }.map { it.path }.forEach { routePath -> ... }
Content copied to clipboard