From e3fe70ad60ae875d32a70dadaa5b35a834adc68d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cuevas?= Date: Sat, 1 Jun 2013 23:18:02 +0200 Subject: [PATCH] Started editing and adding real content. --- server.js | 2 +- views/index.jade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index bf968ff..ca5a35e 100644 --- a/server.js +++ b/server.js @@ -65,7 +65,7 @@ app.get('/', function (req, res) { }); database.each("SELECT * FROM players", function(err, row) { - players.push(row); + players.push(row.name); }); }); diff --git a/views/index.jade b/views/index.jade index 5ed4d7a..22261c5 100644 --- a/views/index.jade +++ b/views/index.jade @@ -9,7 +9,7 @@ block content ul if player_list each player in player_list - li #{player.name} + li #{player} block sidebar .widget