diff --git a/modules/web.js b/modules/web.js index 23591e4..21ad6f6 100644 --- a/modules/web.js +++ b/modules/web.js @@ -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) }); }); diff --git a/views/index.jade b/views/index.jade index 7896851..2be95b3 100644 --- a/views/index.jade +++ b/views/index.jade @@ -1,4 +1,4 @@ div#main div#title depressionbot web interface p - | Bitch please + | a(href: /quotes) Quotes