From c61badd75484532226a5fd9a8025df343de2ae2d Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 7 Sep 2018 01:02:13 +0200 Subject: [PATCH] Frontend extender: Route to correct frontend So far, we always added routes configured via this extender to the forum frontend. Not correct. --- src/Extend/Frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extend/Frontend.php b/src/Extend/Frontend.php index 2a305503d..45282316a 100644 --- a/src/Extend/Frontend.php +++ b/src/Extend/Frontend.php @@ -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']) ); } }