src/Company/BaseBundle/Controller/DefaultController.php
author cavaliet
Wed, 02 May 2012 13:45:37 +0200
changeset 88 eeb5f30dd0b0
parent 4 02eab39cf8c6
permissions -rwxr-xr-x
update readme with curl options

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