<?php
declare(strict_types=1);
namespace WPXToolsBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
/**
* @Route("/", name="dashboard")
* @Route("/dashboard", name="dashboard_second_path")
* @return \Symfony\Component\HttpFoundation\Response
*/
public function indexAction()
{
return $this->render('default/index.html.twig',[
'title' => 'Alice Dashboard',
'notificationWidget' => $this->get('user_notification')->notificationsWidget
]);
}
}