src/Company/BaseBundle/Controller/IndexController.php
changeset 21 b91e0b89dccd
parent 17 a16b5806e3f0
equal deleted inserted replaced
20:1e0db016717d 21:b91e0b89dccd
    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     {