diff --git a/modules/web/web.js b/modules/web/web.js index b7e47b4..f0c150f 100644 --- a/modules/web/web.js +++ b/modules/web/web.js @@ -82,7 +82,7 @@ var webInterface = function(dbot) { _.extend(one, { 'name': dbot.config.name, 'user': req.user, - 'routes': this.indexLinks + 'routes': dbot.modules.web.indexLinks }); resp.render(this.module + '/' + view, one, two); }).bind(this);