Merge pull request #114 from eddyystop/master
Correcting example in routing doc.
This commit is contained in:
commit
5b98b9b190
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ var dashboard = {
|
|||
this.id = m.route.param("userID");
|
||||
},
|
||||
view: function(controller) {
|
||||
m.render("body", controller.id);
|
||||
return m("div", controller.id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue