Category: path

Routes stopped working for an unknown (Symfony) [closed]

It worked perfectly before my make:user command. #index: # path: / # controller: AppControllerDefaultController::index # nom de la route index: path: / controller: AppControllerAdvertController::index test: path: /test controller: AppControllerSecurityController::login This is how my routes.yaml looks at the moment. The routes…

404 not found , Symfony routing path problem

i create a controller pageController.php : <?php namespace AppController; use SymfonyComponentHttpFoundationResponse; class pageController { public function index() { return new Response(‘<html><body>hello…</body></html>’); } public function contactAction() { return new Response(‘<html><body>contact…</body></html>’); } } and here is the routes.yml index: path: / controller:…