Create everything required to login and register
This commit is contained in:
19
src/Controller/HomeController.php
Normal file
19
src/Controller/HomeController.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
class HomeController extends AbstractController
|
||||
{
|
||||
#[Route('/', name: 'home')]
|
||||
public function home(): Response
|
||||
{
|
||||
return $this->redirectToRoute('task_view');
|
||||
// return $this->render('simple.html.twig', [
|
||||
// 'text' => 'Welcome!'
|
||||
// ]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user