|
|
@ -19,6 +19,14 @@ class HomeController extends AbstractController |
|
|
|
]); |
|
|
|
} |
|
|
|
|
|
|
|
public function error($exception, $logger = null): Response |
|
|
|
{ |
|
|
|
$this->addFlash('danger', 'Erreur ! ' . $exception->getMessage()); |
|
|
|
|
|
|
|
return $this->render('home/error.html.twig', [ |
|
|
|
]); |
|
|
|
} |
|
|
|
|
|
|
|
#[Route('/osm/request', name: 'app_osm_request')]
|
|
|
|
public function osmRequest(ClientRegistry $clientRegistry): Response |
|
|
|
{ |
|
|
|