src/AmicaleBundle/Controller/AmicaleController.php
/**
     * Finds and displays a amicale entity.
     *
     */
Finds and displays a amicale entity.
Finds and displays a amicale entity .
public function showAction(Amicale $amicale)
    {
        $deleteForm = $this->createDeleteForm($amicale);
        $user=$this->getUser();
        return $this->render('amicale/show.html.twig', array(
            'amicale' => $amicale,
            'delete_form' => $deleteForm->createView(),'user'=>$user
        ));
    }
public function showAction ( Amicale $ amicale ) { $ deleteForm = $ this -> createDeleteForm ( $ amicale ) ; $ user = $ this -> getUser ( ) ; return $ this -> render ( 'amicale/show.html.twig' , array ( 'amicale' => $ amicale , 'delete_form' => $ deleteForm -> createView ( ) , 'user' => $ user ) ) ; }
Finds and displays a amicale entity.
Finds and displays a amicale entity .