ajout thème rnb
This commit is contained in:
parent
3d767ffaae
commit
aae37c6ce0
9 changed files with 119 additions and 26 deletions
|
|
@ -649,8 +649,8 @@ class PublicController extends AbstractController
|
|||
public function publicFollowupGraph(string $insee_code, string $theme): Response
|
||||
{
|
||||
$stats = $this->entityManager->getRepository(Stats::class)->findOneBy(['zone' => $insee_code]);
|
||||
if (!$stats) {
|
||||
$this->addFlash('error', 'Aucune stats trouvée pour ce code INSEE.');
|
||||
if (!$stats) {
|
||||
$this->addFlash('error', '13 Aucune stats trouvée pour ce code INSEE.');
|
||||
return $this->redirectToRoute('app_public_index');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue