Frontend extender: Route to correct frontend

So far, we always added routes configured via this extender to the
forum frontend. Not correct.
This commit is contained in:
Franz Liedke 2018-09-07 01:02:13 +02:00
parent 14393ec53e
commit c61badd754
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -87,7 +87,7 @@ class Frontend implements ExtenderInterface
foreach ($this->routes as $route) {
$routes->get(
$route['path'], $route['name'],
$factory->toForum($route['content'])
$factory->toFrontend($this->frontend, $route['content'])
);
}
}