Skip to content

Commit

Permalink
more explicit registerAutoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Dec 20, 2022
1 parent 3e7378d commit 6f6d93d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Router/BaseRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@ public function handle(ServerRequestInterface $request) : ResponseInterface
$request = $request
->withAttribute("baseurl", $baseurl->__toString())
->withAttribute("CandID", $components[0]);
$module = $this->loris->getModule("timepoint_list");
$mr = new ModuleRouter($module);
$module = $this->lorisinstance->getModule("timepoint_list");
$module->registerAutoloader();

$mr = new ModuleRouter($module);
return $ehandler->process($request, $mr);
}
}
Expand Down

0 comments on commit 6f6d93d

Please sign in to comment.