Skip to content

Commit

Permalink
Move asset configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny van Wijk committed Oct 12, 2021
1 parent 5e627b7 commit 7dbe06d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,15 @@ public function prepend(ContainerBuilder $container)

// NEXT_MAJOR: Remove templating dependency

$frameworkExtensionConfig = [
'assets' => [
'packages' => [
'media' => null,
],
],
];
$container->prependExtensionConfig('framework', $frameworkExtensionConfig);

$configs = $container->getExtensionConfig($this->getAlias());
$this->processConfiguration(new Configuration(), $configs);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,6 @@ public function prepend(ContainerBuilder $container)

$container->prependExtensionConfig('doctrine', $doctrineGedmoEntityConfig);

$frameworkExtensionConfig = [
'assets' => [
'packages' => [
'media' => null,
],
],
];
$container->prependExtensionConfig('framework', $frameworkExtensionConfig);

$configs = $container->getExtensionConfig($this->getAlias());
$this->processConfiguration(new Configuration(), $configs);
}
Expand Down

0 comments on commit 7dbe06d

Please sign in to comment.