src/Company/BaseBundle/Controller/IndexController.php
changeset 13 ed54c98a7fc8
parent 9 41a9fa70a47b
child 17 a16b5806e3f0
equal deleted inserted replaced
12:c92424a0eb8a 13:ed54c98a7fc8
    74         $rep_docs = $this->getDoctrine()->getRepository('CompanyBaseBundle:Document');
    74         $rep_docs = $this->getDoctrine()->getRepository('CompanyBaseBundle:Document');
    75     	$doc = $rep_docs->findOneById($idDoc);
    75     	$doc = $rep_docs->findOneById($idDoc);
    76         return $this->render('CompanyBaseBundle:Index:tag_embedder.html.twig', array('doc' => $doc));
    76         return $this->render('CompanyBaseBundle:Index:tag_embedder.html.twig', array('doc' => $doc));
    77     }
    77     }
    78     
    78     
       
    79     /**
       
    80      * Template with the list of all tags
       
    81      * 
       
    82      */
       
    83     public function allTagsAction()
       
    84     {
       
    85         return $this->render('CompanyBaseBundle:Index:taglist_embedder.html.twig');
       
    86     }
       
    87     
    79 }
    88 }