mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-10-09 17:02:47 +02:00
add main routes and templates
This commit is contained in:
parent
6df4488b5c
commit
71bce538af
56 changed files with 2288 additions and 24 deletions
|
@ -8,10 +8,24 @@ use Symfony\Component\Routing\Attribute\Route;
|
|||
|
||||
final class DefaultController extends AbstractController
|
||||
{
|
||||
#[Route('/default', name: 'app_default')]
|
||||
#[Route('/', name: 'app_default')]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('default/index.html.twig', [
|
||||
return $this->render('default/main-screen.html.twig', [
|
||||
'controller_name' => 'DefaultController',
|
||||
]);
|
||||
}
|
||||
#[Route('/accueil', name: 'app_home')]
|
||||
public function accueil(): Response
|
||||
{
|
||||
return $this->render('default/main-screen.html.twig', [
|
||||
'controller_name' => 'DefaultController',
|
||||
]);
|
||||
}
|
||||
#[Route('/dashboard', name: 'dashboard')]
|
||||
public function dashboard(): Response
|
||||
{
|
||||
return $this->render('default/main-screen.html.twig', [
|
||||
'controller_name' => 'DefaultController',
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue