File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/Sandbox/MainBundle/DataFixtures/PHPCR Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ cmf_routing:
108108 Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr\RedirectRoute : cmf_routing.redirect_controller:redirectAction
109109
110110 templates_by_class :
111- Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent : SandboxMainBundle:StaticContent:index.html.twig
112111 Symfony\Cmf\Bundle\SimpleCmsBundle\Doctrine\Phpcr\Page : CmfSimpleCmsBundle:Page:index.html.twig
112+ Symfony\Cmf\Bundle\ContentBundle\Doctrine\Phpcr\StaticContent : SandboxMainBundle:StaticContent:index.html.twig
113113
114114cmf_create :
115115 editor_base_path : /bundles/cmfcreate/vendor/ckeditor/
@@ -135,6 +135,9 @@ sonata_block:
135135
136136sonata_admin :
137137 extensions :
138+ cmf_core.admin_extension.child :
139+ implements :
140+ - Symfony\Cmf\Bundle\CoreBundle\Model\ChildInterface
138141 cmf_core.admin_extension.publish_workflow.time_period :
139142 implements :
140143 - Symfony\Cmf\Bundle\CoreBundle\PublishWorkflow\PublishTimePeriodInterface
Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ public function load(ObjectManager $dm)
3434 {
3535 $ session = $ dm ->getPhpcrSession ();
3636
37- $ basepath = $ this ->container ->getParameter ('cmf_routing.dynamic.persistence.phpcr.route_basepaths ' );
38- $ basepath = reset ($ basepath );
37+ $ basepath = $ this ->container ->getParameter ('cmf_routing.dynamic.persistence.phpcr.admin_basepath ' );
3938 if ($ session ->itemExists ($ basepath )) {
4039 $ session ->removeItem ($ basepath );
4140 }
You can’t perform that action at this time.
0 commit comments