diff --git a/Classes/Controller/BackendController.php b/Classes/Controller/BackendController.php index 23fec0e5cd..6d0d03a6b6 100644 --- a/Classes/Controller/BackendController.php +++ b/Classes/Controller/BackendController.php @@ -25,7 +25,6 @@ use Neos\Neos\Domain\Service\WorkspaceNameBuilder; use Neos\Neos\FrontendRouting\NodeAddressFactory; use Neos\Neos\FrontendRouting\SiteDetection\SiteDetectionResult; -use Neos\Neos\Service\BackendRedirectionService; use Neos\Neos\Service\UserService; use Neos\Neos\Ui\Domain\InitialData\ConfigurationProviderInterface; use Neos\Neos\Ui\Domain\InitialData\FrontendConfigurationProviderInterface; @@ -42,6 +41,8 @@ class BackendController extends ActionController */ protected $view; + protected $defaultViewObjectName = ApplicationView::class; + /** * @Flow\Inject * @var UserService @@ -72,12 +73,6 @@ class BackendController extends ActionController */ protected $session; - /** - * @Flow\Inject(lazy=false) - * @var BackendRedirectionService - */ - protected $backendRedirectionService; - /** * @Flow\Inject * @var ContentRepositoryRegistry @@ -187,6 +182,7 @@ public function indexAction(string $node = null) $node = $subgraph->findNodeById($nodeAddress->nodeAggregateId); } + $this->view->setOption('title', 'Neos CMS'); $this->view->assign('initialData', [ 'configuration' => $this->configurationProvider->getConfiguration( diff --git a/Configuration/Views.yaml b/Configuration/Views.yaml deleted file mode 100644 index 434c5d0fc7..0000000000 --- a/Configuration/Views.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- - requestFilter: 'isPackage("Neos.Neos.Ui") && isController("Backend")' - viewObjectName: 'Neos\Neos\Ui\Presentation\ApplicationView' - options: - title: 'Neos CMS' -