src/Controller/DashboardController.php line 19

Open in your IDE?
  1. <?php
  2. namespace App\Controller;
  3. use App\Entity\Advertisement;
  4. use App\Entity\Article;
  5. use App\Entity\Block;
  6. use App\Entity\Region;
  7. use App\Entity\WorkType;
  8. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  9. use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
  10. use Symfony\Component\Routing\Annotation\Route;
  11. class DashboardController extends AbstractController
  12. {
  13.     /**
  14.      * @Route("/", name="dashboard")
  15.      */
  16.     public function indexAction()
  17.     {
  18.         return $this->render('dashboard/index.html.twig');
  19.     }
  20. }