aboutsummaryrefslogtreecommitdiffstats
path: root/routes/home.js
diff options
context:
space:
mode:
authorTeddy Wing2013-04-27 19:26:25 -0400
committerTeddy Wing2013-04-27 19:27:06 -0400
commit0d45e6fce95bccb90d86846fe33c60d7acb5cd1d (patch)
treeac111ed8b006d2f3a87313550220f49046f425f6 /routes/home.js
parent512e8b2da71de59132a29e80d7359ac843d62f07 (diff)
downloadWho-am-I-0d45e6fce95bccb90d86846fe33c60d7acb5cd1d.tar.bz2
Update routing system. Add character images endpoint
Now includes an endpoint to get character images using dummy data.
Diffstat (limited to 'routes/home.js')
-rw-r--r--routes/home.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/routes/home.js b/routes/home.js
new file mode 100644
index 0000000..2c1be44
--- /dev/null
+++ b/routes/home.js
@@ -0,0 +1,8 @@
+
+/*
+ * GET home page.
+ */
+
+module.exports = function(req, res){
+ res.render('index');
+}; \ No newline at end of file