Add /submit to redirect to /manage/game
parent
5abc125a52
commit
47fdf2ccb8
|
@ -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;
|
||||
|
|
Reference in New Issue