mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
this is what you get for not modulating properly you shit
This commit is contained in:
parent
5e1dcd4d30
commit
2cb8c4fc10
@ -82,7 +82,7 @@ var webInterface = function(dbot) {
|
||||
_.extend(one, {
|
||||
'name': dbot.config.name,
|
||||
'user': req.user,
|
||||
'modules': this.indexLinks
|
||||
'routes': this.indexLinks
|
||||
});
|
||||
resp.render(this.module + '/' + view, one, two);
|
||||
}).bind(this);
|
||||
@ -106,6 +106,8 @@ var webInterface = function(dbot) {
|
||||
}
|
||||
}.bind(this));
|
||||
|
||||
this.reloadPages();
|
||||
|
||||
this.app.get('/', function(req, res) {
|
||||
res.render('index', {
|
||||
'name': dbot.config.name,
|
||||
|
Loading…
Reference in New Issue
Block a user