From e09a3714b4556736b7de86938c65d7fc200ed0d8 Mon Sep 17 00:00:00 2001 From: glutSolidSphere Date: Fri, 7 Apr 2017 15:45:39 +0800 Subject: [PATCH] Pass tutorial id into res.render of lobby. --- source/controller/lobby.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/controller/lobby.js b/source/controller/lobby.js index 5f4f01b..caa840a 100644 --- a/source/controller/lobby.js +++ b/source/controller/lobby.js @@ -28,6 +28,7 @@ var get = function (req, res, next) userId: userId, moduleId: moduleId, tutorialId: tutorialId, + tid: tid, userRole: req.body.userRole, username: user.name });