Correcting example in routing doc.

This commit is contained in:
eddyystop 2014-05-30 09:31:43 -04:00
parent 16e6f6fdd5
commit b37432760c

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