src/Bundles/AdminBundle/Controller/IndexController.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Bundles\AdminBundle\Controller;
  4. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  5. use Symfony\Component\HttpFoundation\Response;
  6. use Symfony\Component\Routing\Annotation\Route;
  7. class IndexController extends AbstractController
  8. {
  9.     #[Route(path'/'name'index')]
  10.     public function index(): Response
  11.     {
  12.         return $this->render('@Admin/index/index.html.twig', [
  13.             'google_app_id' => $this->getParameter('social_oauth_google_main_id')
  14.         ]);
  15.     }
  16. }