src/Cpm/JovenesBundle/Controller/CicloController.php
/**
     * Finds and displays a Ciclo entity.
     *
     * @Route("/{id}/show", name="ciclo_show")
     * @Template()
     */
Finds and displays a Ciclo entity.
Finds and displays a Ciclo entity .
public function showAction($id)
    {
        $entity = $this->getEntity('CpmJovenesBundle:Ciclo', $id);
        $deleteForm = $this->createDeleteForm($id);
        return array(
            'entity'      => $entity,
            'delete_form' => $deleteForm->createView(),        );
    }
public function showAction ( $ id ) { $ entity = $ this -> getEntity ( 'CpmJovenesBundle:Ciclo' , $ id ) ; $ deleteForm = $ this -> createDeleteForm ( $ id ) ; return array ( 'entity' => $ entity , 'delete_form' => $ deleteForm -> createView ( ) , ) ; }
Finds and displays a Ciclo entity.
Finds and displays a Ciclo entity .