Skip to content

Commit

Permalink
EZP-29237: Dropped app/Resources/views as a theme override directory (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz authored and Łukasz Serwatka committed May 24, 2018
1 parent 24e2086 commit 133db59
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bundle/DependencyInjection/Compiler/TwigThemePass.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ public function process(ContainerBuilder $container)
(new Filesystem())->mkdir($globalViewsDir);
}
$themesPathMap = [
'_override' => array_merge(
[$globalViewsDir],
$container->getParameter('ezdesign.templates_override_paths')
),
'_override' => $container->getParameter('ezdesign.templates_override_paths'),
];
$finder = new Finder();
// Look for themes in bundles.
Expand Down

0 comments on commit 133db59

Please sign in to comment.