This commit is contained in:
David Arranz 2019-07-12 11:48:04 +02:00
parent 9b68ad3304
commit 965a32a0e0
2 changed files with 7 additions and 2 deletions

View File

@ -41,6 +41,11 @@ const extraControllers = {
} }
}, },
createInscription: async(req, res, next) => {
const params = extractParamsFromRequest(req, res, {});
console.log('crear inscripcionnnnnnnnnnnnnnnnnnnnnnnnnnnn');
}
//findComments: as //findComments: as
}; };

View File

@ -71,8 +71,8 @@ routes.get('/events/:id/inscriptions',
routes.post('/events/:id/inscriptions', routes.post('/events/:id/inscriptions',
// Hacer una inscripción // Hacer una inscripción
//isLoggedUser, isLoggedUser,
//eventController.findComments eventController.createInscription
); );
routes.delete('/events/:id/inscriptions', routes.delete('/events/:id/inscriptions',