Update m.route.getPath/setPath docs

This commit is contained in:
Pat Cavit 2016-07-06 13:55:07 -07:00 committed by GitHub
parent 34bed08cd0
commit 0ac094d2cb

View file

@ -218,10 +218,10 @@ m.route("/other/route");
```javascript ```javascript
// Getting the current route // Getting the current route
m.route.getPath(); m.route.get();
// Setting a new route // Setting a new route
m.route.setPath("/other/route"); m.route.set("/other/route");
``` ```
## Accessing route params ## Accessing route params