10 lines
243 B
JavaScript
10 lines
243 B
JavaScript
|
module.exports.index = function(req, res) {
|
||
|
req.session = null;
|
||
|
res.locals.session = null;
|
||
|
res.setHeader('Content-Type', 'text/html');
|
||
|
|
||
|
res.render('index.jade', res.locals, function(err, out) {
|
||
|
res.send(out);
|
||
|
});
|
||
|
}
|