aboutsummaryrefslogtreecommitdiff
path: root/app/class/Routes.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-12-19 19:52:59 +0100
committern-peugnet <n.peugnet@free.fr>2020-12-19 19:52:59 +0100
commitd2bbcab233dabe3b04f8c3b94a947ec174540418 (patch)
tree8ed06c1b412cc20f899686738a49bef6b1ead7d8 /app/class/Routes.php
parent9338d030f38b465be5f6307f5ee6f2e20d904856 (diff)
downloadwcms-d2bbcab233dabe3b04f8c3b94a947ec174540418.tar.gz
wcms-d2bbcab233dabe3b04f8c3b94a947ec174540418.zip
run phpcbf and add fix target to Makefile
Diffstat (limited to 'app/class/Routes.php')
-rw-r--r--app/class/Routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Routes.php b/app/class/Routes.php
index 0433079..db9b72a 100644
--- a/app/class/Routes.php
+++ b/app/class/Routes.php
@@ -80,7 +80,7 @@ class Routes
$methodName = $callableParts[1];
$controller = new $controllerName($router);
-
+
call_user_func_array(array($controller, $methodName), $match['params']);
} else {
header($_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found');