diff options
Diffstat (limited to 'routes')
| -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 | 
