We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c54bcf2 commit 1219a4dCopy full SHA for 1219a4d
DependencyInjection/CmfCoreExtension.php
@@ -20,6 +20,8 @@ class CmfCoreExtension extends Extension implements PrependExtensionInterface
20
*/
21
public function prepend(ContainerBuilder $container)
22
{
23
+ $bundles = $container->getParameter('kernel.bundles');
24
+
25
// process the configuration of SymfonyCmfCoreExtension
26
$configs = $container->getExtensionConfig($this->getAlias());
27
$parameterBag = $container->getParameterBag();
@@ -122,6 +124,10 @@ public function prepend(ContainerBuilder $container)
122
124
)
123
125
126
);
127
128
+ if (isset($bundles['CmfContentBundle'])) {
129
+ $prependConfig['dynamic']['generic_controller'] = 'cmf_content.controller:indexAction';
130
+ }
131
break;
132
/*
133
case 'cmf_simple_cms':
0 commit comments