diff options
Diffstat (limited to 'src/router.php')
-rw-r--r-- | src/router.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router.php b/src/router.php index 3c3c773..ccab426 100644 --- a/src/router.php +++ b/src/router.php | |||
@@ -103,8 +103,8 @@ elseif($_SERVER['REQUEST_METHOD'] === 'POST'){ | |||
103 | } | 103 | } |
104 | 104 | ||
105 | /* -- bloc Formulaire -- */ | 105 | /* -- bloc Formulaire -- */ |
106 | elseif($_GET['action'] === 'recipient_email'){ | 106 | elseif($_GET['action'] === 'set_email_param'){ |
107 | ContactFormController::updateRecipient($entityManager, $json); | 107 | ContactFormController::setEmailParam($entityManager, $json); |
108 | } | 108 | } |
109 | elseif($_GET['action'] === 'test_email'){ | 109 | elseif($_GET['action'] === 'test_email'){ |
110 | ContactFormController::sendTestEmail($entityManager, $json); | 110 | ContactFormController::sendTestEmail($entityManager, $json); |