diff options
Diffstat (limited to 'routes/index.js')
-rw-r--r-- | routes/index.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/routes/index.js b/routes/index.js index f296005..93a632e 100644 --- a/routes/index.js +++ b/routes/index.js @@ -1,8 +1,11 @@ /* * GET home page. + * + * '/' */ exports.index = function(req, res){ - res.render('index', { title: 'Express' }); -};
\ No newline at end of file + // res.render(TEMPLATE, OBJECT WITH VARIABLES) + res.render('index', { title: 'Express' }); +}; |