post creation and adding ribbon functionality

This commit is contained in:
Arjun Patel
2019-04-12 11:51:33 -07:00
parent ee52f38d48
commit a43e1d8dfd
5 changed files with 100 additions and 3 deletions
+8 -1
View File
@@ -9,7 +9,8 @@ const {
region,
stripe,
project,
image
image,
post
} = require('../controllers');
// Charity signup route
@@ -34,6 +35,12 @@ router.get(
router.post('/project', checkAuth(roles.ORGANIZATION), project.createProject);
router.post(
'/statusupdate',
checkAuth(roles.ORGANIZATION),
post.createStatusUpdate
);
// // Add cause
// router.post('/cause', checkAuth(roles.ORGANIZATION), cause.createCause);