Update configuring_routers.md

This commit is contained in:
Tommi Reiman 2018-05-29 16:03:25 +03:00 committed by GitHub
parent 361e778fa3
commit 7acf3f3357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
Routers can be configured via options. The following options are available for the `reitit.core/router`: Routers can be configured via options. The following options are available for the `reitit.core/router`:
| key | description | | key | description |
| -------------|-------------| |--------------|-------------|
| `:path` | Base-path for routes | | `:path` | Base-path for routes |
| `:routes` | Initial resolved routes (default `[]`) | | `:routes` | Initial resolved routes (default `[]`) |
| `:data` | Initial route data (default `{}`) | | `:data` | Initial route data (default `{}`) |