How to delete an entity from a template with a list of entities (CRUD)?
问题 Explanation: I have generated the CRUD of an entity, getting the following default actions: indexAction(): lists all entities. showAction($id): finds (by ID) and displays an entity. deleteAction($id): deletes an entity. another actions. So, I have seen I can only delete an entity within the actions that use the param $id (e.g.: showAction($id) ) but I want to delete an entity inside the indexAction template because I save a step to users. The deleteAction needs a request, an ID and use the