Borrar un comentario dado su ID

This commit is contained in:
David Arranz 2019-08-19 17:13:27 +02:00
parent b7b9d90a70
commit ca54913fe0

View File

@ -52,4 +52,15 @@ routes.get('/comments/speakers',
);
/*********************************************************************************************************
* ADMINISTRACIÓN
*********************************************************************************************************
*/
// Borrado
routes.delete('/admin/comments/:id',
isAdministratorUser,
commentController.delete()
);
module.exports = routes;