|
@@ -1087,6 +1087,12 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
|
|
{
|
|
{
|
|
$this->buildRoutes();
|
|
$this->buildRoutes();
|
|
|
|
|
|
|
|
+ if (! $this->isChild()) {
|
|
|
|
+ if (strpos($name, '.')) {
|
|
|
|
+ $name = $this->getCode() . '|' . $name;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
return $this->routes->has($name);
|
|
return $this->routes->has($name);
|
|
}
|
|
}
|
|
|
|
|