diff --git a/config/routes/project.yaml b/config/routes/project.yaml new file mode 100644 index 0000000..6ee0935 --- /dev/null +++ b/config/routes/project.yaml @@ -0,0 +1,3 @@ +project_projects: + path: /projects + controller: App\Controller\ProjectController::projects \ No newline at end of file diff --git a/src/Controller/ProjectController.php b/src/Controller/ProjectController.php new file mode 100644 index 0000000..c3e8d9c --- /dev/null +++ b/src/Controller/ProjectController.php @@ -0,0 +1,20 @@ +render("project/projects.html.twig"); + } +} \ No newline at end of file diff --git a/templates/_includes/html/base.html.twig b/templates/_includes/html/base.html.twig index 35add15..c1eb2d7 100644 --- a/templates/_includes/html/base.html.twig +++ b/templates/_includes/html/base.html.twig @@ -40,6 +40,7 @@ {% include '_includes/html/component/navLink.html.twig' with {route: 'task_tasks', icon: 'icofont-checked', name: 'Tâches'} %}