File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,22 +62,23 @@ public function __construct($env, $debug)
62
62
if (class_exists ('Sonata\jQueryBundle\SonatajQueryBundle ' )) {
63
63
$ baseSonataBundles [] = 'Sonata\jQueryBundle\SonatajQueryBundle ' ;
64
64
}
65
+
66
+ if (class_exists ('FOS\JsRoutingBundle\FOSJsRoutingBundle ' )) {
67
+ $ baseSonataBundles [] = 'FOS\JsRoutingBundle\FOSJsRoutingBundle ' ;
68
+ }
65
69
66
70
$ this ->registerBundleSet ('sonata_admin ' , array_merge (array (
67
71
'Sonata\DoctrinePHPCRAdminBundle\SonataDoctrinePHPCRAdminBundle ' ,
68
72
'Symfony\Cmf\Bundle\TreeBrowserBundle\CmfTreeBrowserBundle ' ,
69
- 'FOS\JsRoutingBundle\FOSJsRoutingBundle ' ,
70
73
), $ baseSonataBundles ));
71
74
72
75
$ this ->registerBundleSet ('sonata_admin_orm ' , array_merge (array (
73
- 'FOS\JsRoutingBundle\FOSJsRoutingBundle ' ,
74
76
'Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle ' ,
75
77
), $ baseSonataBundles ));
76
78
77
79
$ this ->registerBundleSet ('sonata_admin_phpcr ' , array_merge (array (
78
80
'Sonata\DoctrinePHPCRAdminBundle\SonataDoctrinePHPCRAdminBundle ' ,
79
81
'Symfony\Cmf\Bundle\TreeBrowserBundle\CmfTreeBrowserBundle ' ,
80
- 'FOS\JsRoutingBundle\FOSJsRoutingBundle ' ,
81
82
), $ baseSonataBundles ));
82
83
83
84
parent ::__construct ($ env , $ debug );
You can’t perform that action at this time.
0 commit comments