| author | cavaliet |
| Wed, 26 Oct 2011 15:39:04 +0200 | |
| changeset 16 | 89a003e5b108 |
| parent 4 | 02eab39cf8c6 |
| permissions | -rwxr-xr-x |
<?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)); } }