File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 26
26
use Neos \Neos \Controller \Backend \MenuHelper ;
27
27
use Neos \Neos \Domain \Repository \DomainRepository ;
28
28
use Neos \Neos \Domain \Repository \SiteRepository ;
29
+ use Neos \Neos \Domain \Service \NodeTypeNameFactory ;
29
30
use Neos \Neos \Domain \Service \WorkspaceNameBuilder ;
30
31
use Neos \Neos \FrontendRouting \NodeAddressFactory ;
31
32
use Neos \Neos \FrontendRouting \SiteDetection \SiteDetectionResult ;
@@ -170,7 +171,7 @@ public function indexAction(string $node = null)
170
171
// to call the contentGraph here directly.
171
172
$ rootNodeAggregate = $ contentRepository ->getContentGraph ()->findRootNodeAggregateByType (
172
173
$ workspace ->currentContentStreamId ,
173
- NodeTypeName:: fromString ( ' Neos.Neos:Sites ' )
174
+ NodeTypeNameFactory:: forSites ( )
174
175
);
175
176
$ rootNode = $ rootNodeAggregate ->getNodeByCoveredDimensionSpacePoint ($ defaultDimensionSpacePoint );
176
177
You can’t perform that action at this time.
0 commit comments