Replace deprecated extends Controller by AbstractController

This commit is contained in:
2021-02-01 18:17:33 +01:00
parent ea0ac6dc66
commit d840deb5e2
13 changed files with 66 additions and 39 deletions

View File

@@ -21,15 +21,17 @@
namespace Chill\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
/**
*
* Class AdminController
*
* @package Chill\MainBundle\Controller
* @author julien.fastre@champs-libres.coop
* @author marc@champs-libres.coop
*/
class AdminController extends Controller {
class AdminController extends AbstractController
{
public function indexAction($menu = 'admin',
$header_title = 'views.Main.admin.index.header_title',