diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-19 06:26:26 -0400 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-03-19 06:26:26 -0400 |
commit | 36e83d4e5f618f13dee6815f0b712279e34bee52 (patch) | |
tree | ee2eafdc81ddd90246ebbb16d5a4281be68ee8c5 /routes | |
parent | Added some comments (diff) | |
download | Divid-36e83d4e5f618f13dee6815f0b712279e34bee52.tar.gz |
added comments
Diffstat (limited to 'routes')
-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' }); +}; |