aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-21 10:09:30 +0000
committerHumairAK <humair88@hotmail.com>2016-07-21 10:09:30 +0000
commit7f385f73ebc024e2c07e628fc1500bcb21b69837 (patch)
tree0363ad066c3d8654469749bf3675fb3add83e556 /routes
parent68be8844ddc1e30e34745a0589fa3395ae6ec198 (diff)
added admin page, fixed some minor issues
Diffstat (limited to 'routes')
-rw-r--r--routes/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/routes/index.js b/routes/index.js
index 708e532..bea28da 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -34,6 +34,10 @@ router.get('/questions', function(req, res, next) {
res.render('questions');
});
+router.get('/admin', function(req,res){
+ res.render('admin');
+});
+
/* Render/GET exam page */
/* Render/GET exam page */
//EXAMPLE EXPECTED DATA GIVEN BELOW: