2015-10-05 16:06:55 +02:00
|
|
|
var db = require('../prototype/dbrequests.js');
|
|
|
|
|
2015-07-29 11:04:38 +02:00
|
|
|
module.exports.index = function(req, res) {
|
2015-10-05 16:06:55 +02:00
|
|
|
db.verifyUser(req.session.userId, function() {});
|
|
|
|
|
2015-07-29 11:04:38 +02:00
|
|
|
res.setHeader('Content-Type', 'text/html');
|
|
|
|
|
|
|
|
res.render('index.jade', res.locals, function(err, result) {
|
|
|
|
res.send(result);
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|