got show all nonprofits button working and improved nonprofit show view

This commit is contained in:
Michael Q Larson
2015-03-31 17:38:33 -07:00
parent f72774d412
commit fa74a1b454
6 changed files with 101 additions and 70 deletions

15
app.js
View File

@ -323,9 +323,9 @@ app.post('/email-signin', userController.postSignin);
* Nonprofit Project routes.
*/
app.get('/nonprofits', contactController.getNonprofitsForm);
app.post('/nonprofits', contactController.postNonprofitsForm);
//app.get('/nonprofits', contactController.getNonprofitsForm);
//
//app.post('/nonprofits', contactController.postNonprofitsForm);
app.get('/nonprofits/home', nonprofitController.nonprofitsHome);
@ -351,18 +351,13 @@ app.get('/nonprofits/your-nonprofit-project-application-has-been-submitted', non
app.get('/nonprofits/other-solutions', nonprofitController.otherSolutions);
app.get('/nonprofits/getNonprofitList', nonprofitController.showAllNonprofits);
app.get(
'/nonprofits/:nonprofitName',
nonprofitController.returnIndividualNonprofit
);
app.get(
'/nonprofits',
nonprofitController.showAllNonprofits
);
app.get('/nonprofits/getNonprofitsList', nonprofitController.showAllNonprofits);
app.get(
'/done-with-first-100-hours',
passportConf.isAuthenticated,