From da69bc4fa05d6bfeb742da825b3fa05f8182e30e Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Mon, 5 May 2014 15:24:09 -0400 Subject: [PATCH] fix docs --- docs/mithril.route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mithril.route.md b/docs/mithril.route.md index 3f4d7fe8..d6c1bfd8 100644 --- a/docs/mithril.route.md +++ b/docs/mithril.route.md @@ -47,7 +47,7 @@ var dashboard = { this.id = m.route.param("userID"); }, view: function(controller) { - m.render("body", controller.id); + return m("div", controller.id); } }