redis - added mget and multi, finished initial topics listview on home page, finished get topics method calls

This commit is contained in:
psychobunny
2013-04-24 22:24:20 +00:00
parent 877219cb58
commit a16f72e11c
6 changed files with 106 additions and 13 deletions

View File

@@ -40,11 +40,11 @@ var express = require('express'),
// app.use(express.methodOverride());
app.get('/', function(req, res) {
//global.modules.topics.get(function() {
// res.send(templates['header'] + templates['home'] + templates['footer']);
//})
global.modules.topics.generate_forum_body(function(forum_body) {
res.send(templates['header'] + forum_body + templates['footer']);
})
res.send(templates['header'] + templates['home'] + templates['footer']);
//res.send(templates['header'] + templates['home'] + templates['footer']);
});
app.get('/login', function(req, res) {