aboutsummaryrefslogtreecommitdiffstats
path: root/routes/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/routes/index.js b/routes/index.js
index f296005..7d9dd59 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -1,8 +1,7 @@
-
-/*
- * GET home page.
- */
-
-exports.index = function(req, res){
- res.render('index', { title: 'Express' });
+module.exports = function(app) {
+ var index = require('./home')
+ , character_images = require('./character-images');
+
+ app.get('/', index);
+ app.get('/character-images', character_images);
}; \ No newline at end of file