File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,16 @@ class RedirectRouteAdmin extends Admin
11
11
{
12
12
protected $ translationDomain = 'CmfRoutingBundle ' ;
13
13
14
+ /**
15
+ * work around https://github.com/sonata-project/SonataAdminBundle/pull/1472
16
+ */
17
+ protected $ baseRouteName = 'cmf_routing ' ;
18
+
19
+ /**
20
+ * work around https://github.com/sonata-project/SonataAdminBundle/pull/1472
21
+ */
22
+ protected $ baseRoutePattern = '/cmf/routing/redirectroute ' ;
23
+
14
24
/**
15
25
* Root path for the route parent selection
16
26
* @var string
Original file line number Diff line number Diff line change @@ -15,6 +15,16 @@ class RouteAdmin extends Admin
15
15
{
16
16
protected $ translationDomain = 'CmfRoutingBundle ' ;
17
17
18
+ /**
19
+ * work around https://github.com/sonata-project/SonataAdminBundle/pull/1472
20
+ */
21
+ protected $ baseRouteName = 'cmf_routing ' ;
22
+
23
+ /**
24
+ * work around https://github.com/sonata-project/SonataAdminBundle/pull/1472
25
+ */
26
+ protected $ baseRoutePattern = '/cmf/routing/route ' ;
27
+
18
28
/**
19
29
* Root path for the route parent selection
20
30
* @var string
You can’t perform that action at this time.
0 commit comments