From d1ce8d99e0c767259047f5831532e35a8d281259 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Thu, 15 Sep 2011 19:56:50 +0100 Subject: [PATCH] link to quotes --- modules/web.js | 2 +- views/index.jade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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