Merge branch 'staging' of github.com:FreeCodeCamp/freecodecamp into staging

Conflicts:
	app.js
	controllers/fieldGuide.js
	controllers/story.js
	seed/challenges/basic-html5-and-css.json
	seed/challenges/bootstrap.json
	seed/field-guides.json
	server/views/partials/navbar.jade
	views/resources/jobs-form.jade
	views/resources/nonprofits-form.jade
	views/resources/pmi-acp-agile-project-managers-form.jade
This commit is contained in:
Quincy Larson
2015-06-09 13:48:29 -07:00
515 changed files with 5784 additions and 235794 deletions

22
server/boot/redirects.js Normal file
View File

@@ -0,0 +1,22 @@
module.exports = function(app) {
var router = app.loopback.Router();
router.get('/nonprofit-project-instructions', function(req, res) {
res.redirect(
301,
'/field-guide/how-do-free-code-camps-nonprofit-projects-work'
);
});
router.get('/agile', function(req, res) {
res.redirect(301, '/pmi-acp-agile-project-managers');
});
router.get('/privacy', function(req, res) {
res.redirect(
301, '/field-guide/what-is-the-free-code-camp-privacy-policy?'
);
});
app.use(router);
};