added note about variadic routes to log
This commit is contained in:
parent
f1321178df
commit
0f1c9bcfba
2 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
[v0.1.12](/mithril/archive/v0.1.12) - maintenance
|
||||
|
||||
### News:
|
||||
|
||||
- It's now possible to define [variadic routes](mithril.route.md#variadic-routes) [#70](https://github.com/lhorie/mithril.js/issues/70)
|
||||
|
||||
### Bug Fixes:
|
||||
|
||||
- Fix link location in links using `config: m.route` after redraws [#74](https://github.com/lhorie/mithril.js/issues/74)
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ The string `johndoe` is bound to the `:userID` parameter, which can be retrived
|
|||
|
||||
The `m.route.mode` defines which part of the URL to use for routing.
|
||||
|
||||
#### "Variadic" routes
|
||||
#### Variadic routes
|
||||
|
||||
We can append an ellipsis (`...`) to the name of a route argument to allow it to match URL snippets that contain slashes:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue