mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
fix module list on index
This commit is contained in:
parent
02d18245c3
commit
2fac33c2e7
@ -94,6 +94,8 @@ var webInterface = function(dbot) {
|
||||
}.bind(this);
|
||||
|
||||
this.onLoad = function() {
|
||||
this.reloadPages();
|
||||
|
||||
var routes = _.pluck(dbot.modules.web.app.routes.get, 'path'),
|
||||
moduleNames = _.keys(dbot.modules);
|
||||
|
||||
@ -106,7 +108,6 @@ var webInterface = function(dbot) {
|
||||
}
|
||||
}.bind(this));
|
||||
|
||||
this.reloadPages();
|
||||
|
||||
this.app.get('/', function(req, res) {
|
||||
res.render('index', {
|
||||
|
Loading…
Reference in New Issue
Block a user