aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorTeddy Wing2013-05-03 08:06:12 -0400
committerTeddy Wing2013-05-03 08:06:12 -0400
commit1d4df38337b11d3de554b1b6c0d0d3382ecfef2a (patch)
tree2b545b1909b59badcfd48c0bca4ec20b1375c2ee /routes
parentf61952a5e5afd4a7f54b669d315474b267268317 (diff)
downloadWho-am-I-1d4df38337b11d3de554b1b6c0d0d3382ecfef2a.tar.bz2
Get rid of Parse.com API keys
Deciding to not completely clear them from history, so don't use them please.
Diffstat (limited to 'routes')
-rw-r--r--routes/home.js18
1 files changed, 12 insertions, 6 deletions
diff --git a/routes/home.js b/routes/home.js
index 2c1be44..62b1f6c 100644
--- a/routes/home.js
+++ b/routes/home.js
@@ -1,8 +1,14 @@
+var config = require('../config');
-/*
- * GET home page.
- */
-
-module.exports = function(req, res){
- res.render('index');
+module.exports = function(req, res) {
+ var data = {
+ config: {
+ parse: {
+ application_id: config.parse.application_id,
+ javascript_key: config.parse.javascript_key
+ }
+ }
+ };
+
+ res.render('index', data);
}; \ No newline at end of file