mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
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) });
|
||||
});
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
div#main
|
||||
div#title depressionbot web interface
|
||||
p
|
||||
| Bitch please
|
||||
| a(href: /quotes) Quotes
|
||||
|
Loading…
Reference in New Issue
Block a user