diff options
Diffstat (limited to 'src/router.php')
| -rw-r--r-- | src/router.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.php b/src/router.php index 19fe1c1..238cac9 100644 --- a/src/router.php +++ b/src/router.php | |||
| @@ -63,7 +63,7 @@ elseif($_SERVER['REQUEST_METHOD'] === 'POST'){ | |||
| 63 | { | 63 | { |
| 64 | // formulaire de contact | 64 | // formulaire de contact |
| 65 | if($_GET['action'] === 'send_email'){ | 65 | if($_GET['action'] === 'send_email'){ |
| 66 | EmailController::submit($json, $entityManager); | 66 | ContactFormController::sendVisitorEmail($entityManager, $json); |
| 67 | } | 67 | } |
| 68 | } | 68 | } |
| 69 | } | 69 | } |
