src/Company/BaseBundle/Controller/DefaultController.php
author cavaliet
Fri, 24 Jan 2014 17:43:38 +0100
changeset 104 415bc12426e9
parent 4 02eab39cf8c6
permissions -rwxr-xr-x
first change for wikipedia and dbpedia lang configuration

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