src/Controller/DashboardController.php line 22

Open in your IDE?
  1. <?php
  2. /**
  3.  * Created by PhpStorm.
  4.  * User: soeren
  5.  * Date: 20.12.18
  6.  * Time: 12:48
  7.  */
  8. namespace App\Controller;
  9. use App\Entity\Resource;
  10. use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
  11. use Symfony\Component\Routing\Annotation\Route;
  12. class DashboardController extends AbstractController
  13. {
  14.     /**
  15.      * @Route("/", name="dashboard")
  16.      */
  17.     public function index()
  18.     {
  19.         return $this->redirectToRoute('project_index');
  20.         return $this->render('dashboard/index.html.twig', [
  21.         ]);
  22.     }
  23. }