Permalink
Browse files

tiny refactoring for consistency

  • Loading branch information...
1 parent 461db28 commit ea2bb09d5532db7e522a7485ffba62b5f06b7f59 @Tobion Tobion committed Nov 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Symfony/Component/Routing/RouteCollection.php
@@ -267,7 +267,7 @@ public function getPrefix()
public function getResources()
{
$resources = $this->resources;
- foreach ($this as $routes) {
+ foreach ($this->routes as $routes) {
if ($routes instanceof RouteCollection) {
$resources = array_merge($resources, $routes->getResources());
}

0 comments on commit ea2bb09

Please sign in to comment.