src\Controller\ConfigController.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  4. use Symfony\Component\HttpFoundation\Response;
  5. use Symfony\Component\Routing\Annotation\Route;
  6. class ConfigController extends AbstractController
  7. {
  8.     #[Route('/config'name'app_config')]
  9.     public function index(): Response
  10.     {
  11.         return $this->render('config/index.html.twig', [
  12.             'controller_name' => 'ConfigController',
  13.             'nav_active' => "Configurações"
  14.         ]);
  15.     }
  16. }