diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php new file mode 100644 index 0000000..bbfdd93 --- /dev/null +++ b/src/Controller/MainController.php @@ -0,0 +1,29 @@ +findOneRandom(); + + return $this->render(view: 'base.html.twig', parameters: [ + 'quote' => $quote->getQuote() + ]); + } + +}