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 565c0b4
Show file tree
Hide file tree
Showing 4 changed files with 11 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
1 change: 1 addition & 0 deletions src/Kunstmaan/AdminBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"kunstmaan/utilities-bundle": "^5.9|^6.0",
"symfony/swiftmailer-bundle": "^2.3|^3.0",
"symfony/acl-bundle": "^1.0|^2.0",
"symfony/asset": "^3.4|^4.4",
"symfony/cache": "^3.4|^4.4",
"symfony/config": "^3.4|^4.4",
"symfony/console": "^3.4|^4.4",
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 565c0b4

Please sign in to comment.