[BUGFIX] Readded rendering of groups

This commit is contained in:
Simon Sessingø
2016-03-19 19:00:23 +01:00
parent 438d3c258b
commit 35bb58818e
+1 -1
View File
@@ -372,7 +372,7 @@ class RouterBase {
return $this->processUrl($route, $route->getMethod(), $parameters, $getParams); return $this->processUrl($route, $route->getMethod(), $parameters, $getParams);
} }
if($route instanceof RouterRoute && !is_callable($route->getCallback()) && stripos($route->getCallback(), '@') !== false) { if($route instanceof RouterRoute && stripos($route->getCallback(), '@') !== false) {
$c = $route->getCallback(); $c = $route->getCallback();
} else if($route instanceof RouterController || $route instanceof RouterResource) { } else if($route instanceof RouterController || $route instanceof RouterResource) {
$c = $route->getController(); $c = $route->getController();