Borrar un comentario dado su ID
This commit is contained in:
parent
b7b9d90a70
commit
ca54913fe0
@ -52,4 +52,15 @@ routes.get('/comments/speakers',
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
/*********************************************************************************************************
|
||||||
|
* ADMINISTRACIÓN
|
||||||
|
*********************************************************************************************************
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Borrado
|
||||||
|
routes.delete('/admin/comments/:id',
|
||||||
|
isAdministratorUser,
|
||||||
|
commentController.delete()
|
||||||
|
);
|
||||||
|
|
||||||
module.exports = routes;
|
module.exports = routes;
|
||||||
Loading…
Reference in New Issue
Block a user