From 36e83d4e5f618f13dee6815f0b712279e34bee52 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 19 Mar 2013 06:26:26 -0400 Subject: added comments --- routes/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'routes/index.js') 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' }); +}; -- cgit v1.2.3