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 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 | ||