edit some syntax

This commit is contained in:
Erica Wright 2017-07-27 14:54:36 -04:00
parent 8d8c2efa23
commit 8cb40effa5
No known key found for this signature in database
GPG key ID: D9F2AF9D67D0AAB7
2 changed files with 2 additions and 2 deletions

View file

@ -97,7 +97,7 @@ app.get('/', (req, res) => {
});
app.get('/unsupported/:reason', (req, res) => {
const outdated = req.params.reason === 'outdated'? true : false;
const outdated = req.params.reason === 'outdated';
res.render('unsupported', {
outdated: outdated
});