diff options
| -rw-r--r-- | routes/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/routes/index.js b/routes/index.js index 1b00f41..97291a7 100644 --- a/routes/index.js +++ b/routes/index.js @@ -173,6 +173,14 @@ router.get('/solutions/:exam_id/:q_num', function (req, res) { }); }); +router.get('/add_solution',function (req, res) { + redirect('/add_solutions_page'); +}); + + +router.post('/add_solutions/submit', function (req, res) { + //TODO: get the form information for the solutions +}) /**** Helpers ****/ function getExamsForCourseCode(courseCode) { |
