aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/routes
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-03-19 06:26:26 -0400
committerDennis Eriksen <dennis.se@gmail.com>2013-03-19 06:26:26 -0400
commit36e83d4e5f618f13dee6815f0b712279e34bee52 (patch)
treeee2eafdc81ddd90246ebbb16d5a4281be68ee8c5 /routes
parentAdded some comments (diff)
downloadDivid-36e83d4e5f618f13dee6815f0b712279e34bee52.tar.gz
added comments
Diffstat (limited to 'routes')
-rw-r--r--routes/index.js7
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' });
+};