mirror of
https://github.com/metosin/reitit.git
synced 2025-12-16 16:01:11 +00:00
Bracket-syntax is available since 0.3.0
This commit is contained in:
parent
7ce2384eb2
commit
ed7b580c9a
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ Routes are defined as vectors of String path and optional (non-sequential) route
|
|||
|
||||
Routes can be wrapped in vectors and lists and `nil` routes are ignored.
|
||||
|
||||
Paths can have path-parameters (`:id`) or catch-all-parameters (`*path`). Since version `0.4.0`, parameters can also be wrapped in brackets, enabling use of qualified keywords `{user/id}`, `{*user/path}`. The non-bracket syntax might be deprecated later.
|
||||
Paths can have path-parameters (`:id`) or catch-all-parameters (`*path`). Since version `0.3.0`, parameters can also be wrapped in brackets, enabling use of qualified keywords `{user/id}`, `{*user/path}`. The non-bracket syntax might be deprecated later.
|
||||
|
||||
### Examples
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue