Showing
1 changed file
with
1 additions
and
1 deletions
@@ -26,7 +26,7 @@ exports.index = (req, res, next) => { | @@ -26,7 +26,7 @@ exports.index = (req, res, next) => { | ||
26 | if ('isStudent' in req.user) { | 26 | if ('isStudent' in req.user) { |
27 | result.realData.verifyRusult = {isStudent: req.user.isStudent === 1 ? true : false}; | 27 | result.realData.verifyRusult = {isStudent: req.user.isStudent === 1 ? true : false}; |
28 | } | 28 | } |
29 | - | 29 | + |
30 | res.render('students/index', result); | 30 | res.render('students/index', result); |
31 | 31 | ||
32 | }).catch(next); | 32 | }).catch(next); |
-
Please register or login to post a comment