diff --git a/src/Router/BaseRouter.php b/src/Router/BaseRouter.php index c55a861d529..a676cbed9fe 100644 --- a/src/Router/BaseRouter.php +++ b/src/Router/BaseRouter.php @@ -139,7 +139,9 @@ public function handle(ServerRequestInterface $request) : ResponseInterface ->withAttribute("baseurl", $baseurl->__toString()) ->withAttribute("CandID", $components[0]); $module = $this->lorisinstance->getModule("timepoint_list"); - $mr = new ModuleRouter($module); + $module->registerAutoloader(); + + $mr = new ModuleRouter($module); return $ehandler->process($request, $mr); } }