<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
/**
* This is main Cockpit controller.
*
* @Security("is_granted('IS_AUTHENTICATED_FULLY')")
*/
class CockpitController extends AbstractController
{
/**
* @Route("/", name="cockpit")
*/
public function index()
{
return $this->redirectToRoute('roles_index');
}
}