From 5e1dcd4d308047c4be7035a0d004738ff43d5a48 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 12 Dec 2013 19:19:44 +0000 Subject: [PATCH] pass module links to each page --- modules/web/web.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/web/web.js b/modules/web/web.js index f6f5341..267ebb0 100644 --- a/modules/web/web.js +++ b/modules/web/web.js @@ -81,7 +81,8 @@ var webInterface = function(dbot) { // Render with express.js _.extend(one, { 'name': dbot.config.name, - 'user': req.user + 'user': req.user, + 'modules': this.indexLinks }); resp.render(this.module + '/' + view, one, two); }).bind(this);