src/Controller/HomeController.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use App\Entity\Employee;
  4. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  5. use Symfony\Component\HttpFoundation\Request;
  6. use Symfony\Component\HttpFoundation\Response;
  7. use Symfony\Component\Routing\Annotation\Route;
  8. class HomeController extends AbstractController
  9. {
  10.     /**
  11.      * @Route("/", name="app_index", methods={"GET"})
  12.      */
  13.     public function index()
  14.     {
  15.         return $this->redirectToRoute('app_dashboard_profit_analysis', [], Response::HTTP_SEE_OTHER);
  16.     }
  17. }