Files
chill-bundles/src/Bundle/ChillCustomFieldsBundle/Controller/AdminController.php

29 lines
788 B
PHP

<?php
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\CustomFieldsBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
/**
* Class AdminController
* Controller for the custom fields configuration section (in admin section).
*/
class AdminController extends AbstractController
{
#[\Symfony\Component\Routing\Attribute\Route(path: '/{_locale}/admin/customfield/', name: 'customfield_section')]
public function indexAction(): Response
{
return $this->render('@ChillCustomFields/Admin/layout.html.twig');
}
}