aboutsummaryrefslogtreecommitdiff
path: root/routes/index.js
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 11:04:14 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-25 11:04:14 +0000
commit9f1b0d9f1c807e02a415b5b8a2509dc6445f08b3 (patch)
tree5fd3a0687e68c92bd4aac964acd949fbfd666f8d /routes/index.js
parentbca90452150c6a128f88765d04481a0235059af3 (diff)
parentc7bec051d61d66925d68be8661aaf52b011dedac (diff)
merged
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/index.js b/routes/index.js
index 283b196..6218dd1 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -201,6 +201,7 @@ router.get('/solutions/:exam_id/:q_num', function (req, res) {
soln.commentCount = soln.comments.length;
});
res.render('user_solutions', {query: solutions, examID: examID, qID: qID, csrfToken: req.csrfToken()});
+ req.session.messages = null;
});
});