diff --git a/config/routes/actors.yaml b/config/routes/actors.yaml index c0f1dcd..10af9e1 100644 --- a/config/routes/actors.yaml +++ b/config/routes/actors.yaml @@ -1,3 +1,3 @@ actors_actors: - path: / + path: /actors controller: App\Controller\ActorsController::actors \ No newline at end of file diff --git a/config/routes/main.yaml b/config/routes/main.yaml new file mode 100644 index 0000000..f3f69a0 --- /dev/null +++ b/config/routes/main.yaml @@ -0,0 +1,3 @@ +main_home: + path: / + controller: App\Controller\MainController::home \ No newline at end of file diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php new file mode 100644 index 0000000..556b3ed --- /dev/null +++ b/src/Controller/MainController.php @@ -0,0 +1,20 @@ +render("home.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 46ccd98..95fab2a 100644 --- a/templates/_includes/html/base.html.twig +++ b/templates/_includes/html/base.html.twig @@ -33,6 +33,8 @@