mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
pass module links to each page
This commit is contained in:
parent
eb348848e6
commit
5e1dcd4d30
@ -81,7 +81,8 @@ var webInterface = function(dbot) {
|
|||||||
// Render with express.js
|
// Render with express.js
|
||||||
_.extend(one, {
|
_.extend(one, {
|
||||||
'name': dbot.config.name,
|
'name': dbot.config.name,
|
||||||
'user': req.user
|
'user': req.user,
|
||||||
|
'modules': this.indexLinks
|
||||||
});
|
});
|
||||||
resp.render(this.module + '/' + view, one, two);
|
resp.render(this.module + '/' + view, one, two);
|
||||||
}).bind(this);
|
}).bind(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user