src/Company/BaseBundle/Controller/DefaultController.php
author ymh <ymh.work@gmail.com>
Thu, 27 Oct 2011 21:24:29 +0200
changeset 20 1e0db016717d
parent 4 02eab39cf8c6
permissions -rwxr-xr-x
hg push

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