forked from GitHub/dbot
link to quotes
This commit is contained in:
parent
eb4d495dc5
commit
d1ce8d99e0
@ -23,7 +23,7 @@ var webInterface = function(dbot) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/quotes/', function(req, res) {
|
app.get('/quotes', function(req, res) {
|
||||||
res.render('quotelist', { 'quotes': Object.keys(dbot.db.quoteArrs) });
|
res.render('quotelist', { 'quotes': Object.keys(dbot.db.quoteArrs) });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
div#main
|
div#main
|
||||||
div#title depressionbot web interface
|
div#title depressionbot web interface
|
||||||
p
|
p
|
||||||
| Bitch please
|
| a(href: /quotes) Quotes
|
||||||
|
Loading…
Reference in New Issue
Block a user