docs: Fix inconsistent path in router.md variadic routes example (#2084)
This commit is contained in:
parent
81903cacdb
commit
33ff439c73
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ It's also possible to have variadic routes, i.e. a route with an argument that c
|
|||
|
||||
```javascript
|
||||
m.route(document.body, "/edit/pictures/image.jpg", {
|
||||
"/files/:file...": Edit,
|
||||
"/edit/:file...": Edit,
|
||||
})
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue