diff --git a/routes/index.js b/routes/index.js index 42fa2b0..c18f5a5 100644 --- a/routes/index.js +++ b/routes/index.js @@ -1,9 +1,12 @@ var express = require('express'); var router = express.Router(); -/* GET home page. */ router.get('/', function(req, res, next) { res.render('index', { title: 'View Scores', userLoggedIn: !!req.user, hideHomeButton: true }); }); +router.get('/submit', function(req, res, next) { + res.redirect('/manage/game'); +}); + module.exports = router;