fix docs typo
This commit is contained in:
parent
b88942d79d
commit
e9eb03285a
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ m.route(document.body, "/dashboard/johndoe", {
|
|||
This redirects to the URL `http://server/#/dashboard/johndoe` and yields:
|
||||
|
||||
```markup
|
||||
<body>johndoe</body>
|
||||
<body><div>johndoe</div></body>
|
||||
```
|
||||
|
||||
Above, `dashboard` is a module. It contains a `controller` and a `view` properties. When the URL matches a route, the respective module's controller is instantiated and passed as a parameter to the view.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue