This repository has been archived on 2024-04-05. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-02-08 15:48:53 +00:00
|
|
|
var express = require('express');
|
|
|
|
var router = express.Router();
|
|
|
|
|
|
|
|
router.get('/', function(req, res, next) {
|
2021-11-26 19:46:16 +00:00
|
|
|
res.render('index', { title: 'View Scores', userLoggedIn: !!req.user, hideHomeButton: true });
|
2021-02-08 15:48:53 +00:00
|
|
|
});
|
|
|
|
|
2021-12-06 17:43:40 +00:00
|
|
|
router.get('/submit', function(req, res, next) {
|
|
|
|
res.redirect('/manage/game');
|
|
|
|
});
|
|
|
|
|
2021-02-08 15:48:53 +00:00
|
|
|
module.exports = router;
|