move calculator back to its own view and out of field guide

This commit is contained in:
Quincy Larson
2015-07-31 17:30:27 -07:00
parent ae38aab8cc
commit 3f49b6288f
2 changed files with 119 additions and 8 deletions

View File

@ -21,6 +21,7 @@ module.exports = function(app) {
router.get('/api/codepen/twitter/:screenName', twitter);
router.get('/sitemap.xml', sitemap);
router.get('/chat', chat);
router.get('/coding-bootcamp-cost-calculator', bootcampCalculator);
router.get('/twitch', twitch);
router.get('/pmi-acp-agile-project-managers', agileProjectManagers);
router.get('/pmi-acp-agile-project-managers-form', agileProjectManagersForm);
@ -200,18 +201,16 @@ module.exports = function(app) {
);
}
function chat(req, res) {
res.redirect('//gitter.im/FreeCodeCamp/FreeCodeCamp');
}
function bootcampCalculatorJson(req, res) {
res.send(bootcampJson);
}
function chat(req, res) {
res.redirect('https://gitter.im/FreeCodeCamp/FreeCodeCamp');
}
function bootcampCalculator(req, res) {
res.render('resources/calculator', {
title: 'Coding Bootcamp Cost Calculator'
});
}
function jobsForm(req, res) {
res.render('resources/jobs-form', {
title: 'Employer Partnership Form for Job Postings,' +