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 21c8236
Show file tree
Hide file tree
Showing 3 changed files with 10 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
1 change: 1 addition & 0 deletions src/Kunstmaan/MediaBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"symfony/mime": "^4.4",
"imagine/imagine": "^1.1",
"knplabs/knp-gaufrette-bundle": "~0.1",
"kunstmaan/admin-bundle": "^5.9|^6.0",
"kunstmaan/adminlist-bundle": "^5.9|^6.0",
"pagerfanta/twig": "^2.4"
},
Expand Down

0 comments on commit 21c8236

Please sign in to comment.