diff --git a/src/Controller/AppController.php b/src/Controller/AppController.php new file mode 100644 index 0000000..92450f6 --- /dev/null +++ b/src/Controller/AppController.php @@ -0,0 +1,18 @@ +render('app/index.html.twig', [ + 'controller_name' => 'AppController', + ]); + } +} diff --git a/templates/app/index.html.twig b/templates/app/index.html.twig new file mode 100644 index 0000000..6245d25 --- /dev/null +++ b/templates/app/index.html.twig @@ -0,0 +1,20 @@ +{% extends 'base.html.twig' %} + +{% block title %}Hello AppController!{% endblock %} + +{% block body %} + + +
src/Controller/AppController.php
templates/app/index.html.twig