[BUGFIX] Optimisations + bugfixes.

This commit is contained in:
Simon Sessingø
2015-12-10 04:12:44 +01:00
parent 3ba2cec8af
commit 59956d5fca
3 changed files with 11 additions and 9 deletions
+3 -1
View File
@@ -80,11 +80,13 @@ class RouterBase {
}
$this->currentRoute = $route;
if($route instanceof RouterGroup && is_callable($route->getCallback())) {
$route->renderRoute($this->request);
$activeGroup = $route;
$mergedSettings = array_merge($settings, $route->getMergeableSettings());
$mergedSettings = array_merge($route->getMergeableSettings(), $settings);
}
$this->currentRoute = null;
if(count($this->backstack)) {