aboutsummaryrefslogtreecommitdiffstats
path: root/routes/character-chosen-dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/character-chosen-dialog.js')
-rw-r--r--routes/character-chosen-dialog.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/routes/character-chosen-dialog.js b/routes/character-chosen-dialog.js
new file mode 100644
index 0000000..db5a6c0
--- /dev/null
+++ b/routes/character-chosen-dialog.js
@@ -0,0 +1,11 @@
+module.exports = function(req, res) {
+ this.success = req.params.success;
+
+ this.data = {
+ success: this.success,
+ character_name: req.query.character_name,
+ character_image_url: req.query.character_image_url
+ };
+
+ res.render('character-chosen-dialog', this.data);
+}; \ No newline at end of file