src/Company/BaseBundle/Controller/DefaultController.php
author ymh <ymh.work@gmail.com>
Fri, 18 Nov 2011 17:54:18 +0100
changeset 38 bbdc7f9aa25e
parent 4 02eab39cf8c6
permissions -rwxr-xr-x
Added tag V00.01 for changeset c67bc03ec09c

<?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));
    }
}