src/Company/BaseBundle/Controller/IndexController.php
changeset 17 a16b5806e3f0
parent 13 ed54c98a7fc8
equal deleted inserted replaced
16:89a003e5b108 17:a16b5806e3f0
    17         return $this->render('CompanyBaseBundle:Index:index.html.twig');
    17         return $this->render('CompanyBaseBundle:Index:index.html.twig');
    18     }
    18     }
    19     
    19     
    20     public function otherAction()
    20     public function otherAction()
    21     {
    21     {
    22         return $this->render('CompanyBaseBundle:Index:other_page.html.twig');
    22         $tag_id = $this->getRequest()->query->get('tag');
       
    23         return $this->render('CompanyBaseBundle:Index:other_page.html.twig', array('tag_id' => $tag_id));
    23     }
    24     }
    24     
    25     
    25     
    26     
    26     public function addDocumentAction(Request $request)
    27     public function addDocumentAction(Request $request)
    27     {
    28     {