src/AppBundle/Controller/Tienda/PeticionController.php
/**
     * Finds and displays a peticion entity.
     *
     * @Route("/{id}", name="tienda_peticion_show")
     * @Method("GET")
     */
Finds and displays a peticion entity.
Finds and displays a peticion entity .
public function showAction(Peticion $peticion)
    {
        $deleteForm = $this->createDeleteForm($peticion);
        return $this->render('tienda/peticion/show.html.twig', array(
            'peticion' => $peticion,
            'delete_form' => $deleteForm->createView(),
        ));
    }
public function showAction ( Peticion $ peticion ) { $ deleteForm = $ this -> createDeleteForm ( $ peticion ) ; return $ this -> render ( 'tienda/peticion/show.html.twig' , array ( 'peticion' => $ peticion , 'delete_form' => $ deleteForm -> createView ( ) , ) ) ; }
Finds and displays a peticion entity.
Finds and displays a peticion entity .