Commit 8518a8e6 authored by Carson Full's avatar Carson Full

doFlush returns the same RouteCollection instance now, so there's no need to...

doFlush returns the same RouteCollection instance now, so there's no need to add the sub-collection routes to itself
parent ab6aabba
...@@ -210,7 +210,7 @@ class ControllerCollection ...@@ -210,7 +210,7 @@ class ControllerCollection
$routes->add($name, $controller->getRoute()); $routes->add($name, $controller->getRoute());
$controller->freeze(); $controller->freeze();
} else { } else {
$routes->addCollection($controller->doFlush($prefix.$controller->prefix, $routes)); $controller->doFlush($prefix.$controller->prefix, $routes);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment