Router::run does not work

From what I understand you need to register the routes and then run the router and then call the route… You can register the routes in the constructor as well.

$router = new \Router($routes);

$router->filter(‘auth’,authFilter());
$router->filter(‘isInstalled’,isInstalledFilter());

$route = $router->run(kirby()->path());

call($route->action(), $route->arguments());

see here