mirror of
https://github.com/metosin/reitit.git
synced 2026-02-07 20:33:12 +00:00
Fix doc headers
This commit is contained in:
parent
c471837d9c
commit
9f324606ff
3 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
## Configuring Routers
|
# Configuring Routers
|
||||||
|
|
||||||
Routers can be configured via options. Options allow things like [`clojure.spec`](https://clojure.org/about/spec) validation for route data and fast, compiled handlers. The following options are available for the `reitit.core/router`:
|
Routers can be configured via options. Options allow things like [`clojure.spec`](https://clojure.org/about/spec) validation for route data and fast, compiled handlers. The following options are available for the `reitit.core/router`:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
## Name-based (reverse) Routing
|
# Name-based (reverse) Routing
|
||||||
|
|
||||||
All routes which have `:name` route data defined, can also be matched by name.
|
All routes which have `:name` route data defined, can also be matched by name.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
## Path-based Routing
|
# Path-based Routing
|
||||||
|
|
||||||
Path-based routing is done using the `reitit.core/match-by-path` function. It takes the router and path as arguments and returns one of the following:
|
Path-based routing is done using the `reitit.core/match-by-path` function. It takes the router and path as arguments and returns one of the following:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue