mirror of
https://github.com/metosin/reitit.git
synced 2025-12-17 00:11:11 +00:00
doc: link to name_based_routing.md from route_data.md
This commit is contained in:
parent
494aa29cdb
commit
21a967145f
1 changed files with 4 additions and 3 deletions
|
|
@ -11,7 +11,8 @@ Route data is the key feature of reitit. Routes can have any map-like data attac
|
|||
|
||||
Besides map-like data, raw routes can have any non-sequential route argument after the path. This argument is expanded by `Router` (via `:expand` option) into route data at router creation time.
|
||||
|
||||
By default, Keywords are expanded into `:name` and functions into `:handler` keys.
|
||||
By default, Keywords are expanded into `:name` (see [Name-based Routing](./name_based_routing.md))
|
||||
and functions into `:handler` keys.
|
||||
|
||||
```clj
|
||||
(require '[reitit.core :as r])
|
||||
|
|
|
|||
Loading…
Reference in a new issue