From 59f4bf285a81b3d25698be5a690c0902c5292032 Mon Sep 17 00:00:00 2001 From: zengxinhui Date: Wed, 13 Oct 2021 02:42:52 -0400 Subject: [PATCH] duplicate r/routes output Perhaps this is not needed as the same output is shown above close. Or the `nil`s need to be removed to match actual output. See PR513 https://github.com/metosin/reitit/pull/513 --- doc/basics/router.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/doc/basics/router.md b/doc/basics/router.md index 826a420d..dba18dd6 100644 --- a/doc/basics/router.md +++ b/doc/basics/router.md @@ -63,14 +63,6 @@ Route names: ; [:user/ping :user/user] ``` -The compiled route tree: - -```clj -(r/routes router) -; [["/api/ping" {:name :user/ping}] -; ["/api/user/:id" {:name :user/user}]] -``` - ### Composing As routes are defined as plain data, it's easy to merge multiple route trees into a single router