Skip to content

Commit

Permalink
Alternate fix for schmittjoh#96; tested with symfony-standard v2.2.3 …
Browse files Browse the repository at this point in the history
…(and v2.3.1 with JMSDiExtraBundle and JMSSecurityExtraBundle dependencies restored)
  • Loading branch information
robocoder committed Jul 3, 2013
1 parent 609c331 commit 22e8d41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HttpKernel/ControllerInjectorsWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ public function warmUp($cacheDir)

$classes = $this->findControllerClasses();
foreach ($classes as $class) {
if (class_exists($class, true)) {
continue;
}

$this->controllerResolver->createInjector($class);
}
}
Expand Down

0 comments on commit 22e8d41

Please sign in to comment.