Add /submit to redirect to /manage/game

main
sudoer777 2021-12-06 10:43:40 -07:00
parent 5abc125a52
commit 47fdf2ccb8
1 changed files with 4 additions and 1 deletions

View File

@ -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;