| author | ymh <ymh.work@gmail.com> |
| Fri, 30 Sep 2011 19:41:38 +0200 | |
| changeset 4 | 02eab39cf8c6 |
| parent 2 | 806e57d67020 |
| permissions | -rw-r--r-- |
<?php namespace Company\BaseBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction() { $user = $this->get('security.context')->getToken()->getUser(); return $this->render('CompanyBaseBundle:Default:index.html.twig', array('user'=>$user)); } }