add order
This commit is contained in:
parent
7663f684a4
commit
1dc5306967
37 changed files with 1060 additions and 113 deletions
17
src/Controller/HomeController.php
Normal file
17
src/Controller/HomeController.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php declare(strict_types=1);
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Attribute\Route;
|
||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||
|
||||
final class HomeController
|
||||
{
|
||||
#[Route('/', name: 'home')]
|
||||
public function home(UrlGeneratorInterface $router): Response
|
||||
{
|
||||
return new RedirectResponse($router->generate('app_food_order_index'));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue