src/Company/BaseBundle/Controller/DefaultController.php
author cavaliet
Thu, 23 Feb 2012 18:52:59 +0100
changeset 73 c8ecf6c0bdd3
parent 4 02eab39cf8c6
permissions -rwxr-xr-x
Add configuration to enable curl request with proxy or any other CURLOPT

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