Merge pull request #76 from skipperbent/development

[BUGFIX] Readded rendering of groups
This commit is contained in:
Simon Sessingø
2016-03-19 18:59:01 +01:00
+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();