From b37432760cf20c492b5297a2170f28a9034ebf63 Mon Sep 17 00:00:00 2001 From: eddyystop Date: Fri, 30 May 2014 09:31:43 -0400 Subject: [PATCH] Correcting example in routing doc. --- docs/routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/routing.md b/docs/routing.md index c9a172cf..b2706130 100644 --- a/docs/routing.md +++ b/docs/routing.md @@ -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); } }