2015-07-30 13:11:28 +02:00
|
|
|
module.exports.index = function(req, res) {
|
2015-09-29 17:22:48 +02:00
|
|
|
|
|
|
|
req.session.workerId = req.params.workerId;
|
|
|
|
req.session.save();
|
|
|
|
|
2015-07-30 13:11:28 +02:00
|
|
|
res.setHeader('Content-Type', 'text/html');
|
|
|
|
|
|
|
|
res.render('index.jade', res.locals, function(err, result) {
|
|
|
|
res.send(result);
|
|
|
|
});
|
|
|
|
};
|
|
|
|
|