src/CentraleLille/SearchBundle/Controller/DemoController.php
/**
     * Finds and displays a Demo entity.
     *
     * @Route("/{id}", name="demo_show")
     * @Method("GET")
     */
Finds and displays a Demo entity.
Finds and displays a Demo entity .
public function showAction(Demo $demo)
    {
        $deleteForm = $this->createDeleteForm($demo);
        return $this->render('demo/show.html.twig', array(
            'demo' => $demo,
            'delete_form' => $deleteForm->createView(),
        ));
    }
public function showAction ( Demo $ demo ) { $ deleteForm = $ this -> createDeleteForm ( $ demo ) ; return $ this -> render ( 'demo/show.html.twig' , array ( 'demo' => $ demo , 'delete_form' => $ deleteForm -> createView ( ) , ) ) ; }
Finds and displays a Demo entity.
Finds and displays a Demo entity .