mirror of
https://github.com/flarum/core.git
synced 2025-07-24 18:21:33 +02:00
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:
@@ -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'])
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user