2015-06-05 17:57:00 +02:00
|
|
|
module.exports.index = function(req, res) {
|
|
|
|
req.session = null;
|
|
|
|
res.locals.session = null;
|
|
|
|
res.setHeader('Content-Type', 'text/html');
|
|
|
|
|
2015-07-01 10:27:43 +02:00
|
|
|
res.render('../../index/views/index.jade', res.locals, function(err, out) {
|
|
|
|
console.log(err);
|
2015-06-05 17:57:00 +02:00
|
|
|
res.send(out);
|
|
|
|
});
|
2015-07-01 10:14:15 +02:00
|
|
|
};
|