aboutsummaryrefslogtreecommitdiffstats
path: root/routes/index.js
diff options
context:
space:
mode:
authorTeddy Wing2013-04-27 18:20:41 -0400
committerTeddy Wing2013-04-27 18:20:41 -0400
commit4b14305623d5ddc59f435fc5e35c54c0def1d392 (patch)
treeef780015587343a48c46a59a7ccd0263308d062a /routes/index.js
parent52127aee97d0d16be652d2063c9aefbbef234f43 (diff)
downloadWho-am-I-4b14305623d5ddc59f435fc5e35c54c0def1d392.tar.bz2
Change to node/express app
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/routes/index.js b/routes/index.js
new file mode 100644
index 0000000..f296005
--- /dev/null
+++ b/routes/index.js
@@ -0,0 +1,8 @@
+
+/*
+ * GET home page.
+ */
+
+exports.index = function(req, res){
+ res.render('index', { title: 'Express' });
+}; \ No newline at end of file