Update m.route.getPath/setPath docs
This commit is contained in:
parent
34bed08cd0
commit
0ac094d2cb
1 changed files with 2 additions and 2 deletions
|
|
@ -218,10 +218,10 @@ m.route("/other/route");
|
|||
|
||||
```javascript
|
||||
// Getting the current route
|
||||
m.route.getPath();
|
||||
m.route.get();
|
||||
|
||||
// Setting a new route
|
||||
m.route.setPath("/other/route");
|
||||
m.route.set("/other/route");
|
||||
```
|
||||
|
||||
## Accessing route params
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue