Skip to content

Commit

Permalink
Add all bundle template paths to main loader namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuecker committed Apr 9, 2019
1 parent 7b2a088 commit c97f974
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Framework/Twig/TemplateFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function addBundle(Bundle $bundle): void

array_unshift($bundles, $bundle->getName());
$this->loader->addPath($directory, $bundle->getName());
$this->loader->addPath($directory);
}

$this->bundles = array_unique($bundles);
Expand Down

0 comments on commit c97f974

Please sign in to comment.