Merge pull request #114 from eddyystop/master

Correcting example in routing doc.
This commit is contained in:
Leo Horie 2014-05-30 09:51:54 -04:00
commit 5b98b9b190

View file

@ -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);
}
}