src/Company/BaseBundle/Controller/DefaultController.php
author ymh <ymh.work@gmail.com>
Thu, 17 Nov 2011 11:30:00 +0100
changeset 32 f166042d4421
parent 4 02eab39cf8c6
permissions -rwxr-xr-x
add event on tag changed

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