diff options
| author | Teddy Wing | 2013-05-03 08:06:12 -0400 | 
|---|---|---|
| committer | Teddy Wing | 2013-05-03 08:06:12 -0400 | 
| commit | 1d4df38337b11d3de554b1b6c0d0d3382ecfef2a (patch) | |
| tree | 2b545b1909b59badcfd48c0bca4ec20b1375c2ee /routes/home.js | |
| parent | f61952a5e5afd4a7f54b669d315474b267268317 (diff) | |
| download | Who-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/home.js')
| -rw-r--r-- | routes/home.js | 18 | 
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 | 
