Controller/DepartamentoController.php
public function showAction(Departamento $departamento)
    {
        $deleteForm = $this->createDeleteForm($departamento);

        return $this->render('UbicacionBundle:departamento:show.html.twig', array(
            'departamento' => $departamento,
            'delete_form' => $deleteForm->createView(),
        ));
    }
public function showAction(Departamento $departamento)
    {
        $deleteForm = $this->createDeleteForm($departamento);

        return $this->render('UbicacionBundle:departamento:show.html.twig', array(
            'departamento' => $departamento,
            'delete_form' => $deleteForm->createView(),
        ));
    }
public function showAction ( Departamento $ departamento ) { $ deleteForm = $ this -> createDeleteForm ( $ departamento ) ; return $ this -> render ( 'UbicacionBundle:departamento:show.html.twig' , array ( 'departamento' => $ departamento , 'delete_form' => $ deleteForm -> createView ( ) , ) ) ; }
Finds and displays a Departamento entity.
Finds and displays a Departamento entity .