aboutsummaryrefslogtreecommitdiffstats
path: root/routes/index.js
diff options
context:
space:
mode:
authorTeddy Wing2013-04-28 14:36:03 -0400
committerTeddy Wing2013-04-28 14:36:03 -0400
commit1c57161d94906820b0dc9dce23d8b5d8e9b181d1 (patch)
tree5516464872e3e5d92ae97ba7395028c042f88694 /routes/index.js
parent5352d970ba2982ea0e525ffdc4b84b730f2afcf7 (diff)
downloadWho-am-I-1c57161d94906820b0dc9dce23d8b5d8e9b181d1.tar.bz2
When you pick a character, show a dialog
The dialog contains a message based on whether or not you had the correct answer.
Diffstat (limited to 'routes/index.js')
-rw-r--r--routes/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/routes/index.js b/routes/index.js
index f0d7c86..20333b5 100644
--- a/routes/index.js
+++ b/routes/index.js
@@ -1,7 +1,9 @@
module.exports = function(app) {
var index = require('./home')
- , character_images = require('./character-images');
+ , character_images = require('./character-images')
+ , character_chosen_dialog = require('./character-chosen-dialog');
app.get('/', index);
app.get('/character-images/:series_id', character_images);
+ app.get('/character-chosen/:success', character_chosen_dialog);
}; \ No newline at end of file