Rename management page
parent
8ab01bb6a4
commit
0787a12404
|
@ -14,7 +14,7 @@ var checkLoginStatus = require('./checkLoginStatus');
|
|||
|
||||
|
||||
router.get('/' ,checkLoginStatus.user, function(req, res, next) {
|
||||
if(req.user[2]) res.render('manage', { title: 'Score Management', userLoggedIn: !!req.user });
|
||||
if(req.user[2]) res.render('manage', { title: 'Management Panel', userLoggedIn: !!req.user });
|
||||
else res.render('manage/manage-nonadmin', { title: "My Games", userLoggedIn: !!req.user });
|
||||
});
|
||||
|
||||
|
|
Reference in New Issue