src/Company/BaseBundle/Controller/DefaultController.php
author ymh <ymh.work@gmail.com>
Tue, 20 Mar 2012 13:08:53 +0100
changeset 84 ec0cd99b1f7d
parent 4 02eab39cf8c6
permissions -rwxr-xr-x
Added tag V00.07 for changeset db5efc0fec8d

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