summaryrefslogtreecommitdiff
path: root/src/router.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/router.php')
-rw-r--r--src/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router.php b/src/router.php
index 238cac9..eddd199 100644
--- a/src/router.php
+++ b/src/router.php
@@ -40,7 +40,7 @@ if($_SERVER['REQUEST_METHOD'] === 'GET'){
40 } 40 }
41 41
42 // construction d'une page 42 // construction d'une page
43 $response = new ViewController()->buildView($request, $entityManager); 43 $response = (new ViewController)->buildView($entityManager, $request);
44} 44}
45 45
46 46