Skip to content

Commit

Permalink
TASK: Refactor controller to not use static fusion path
Browse files Browse the repository at this point in the history
The fusion path is now dynamically determined by controller / action
This enables additional actions with separate templates for that controller.
  • Loading branch information
daniellienert authored and grebaldi committed Jan 16, 2024
1 parent 677f4fa commit 9d58de7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions Classes/Controller/BackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ class BackendController extends ActionController
*/
protected $splashScreenPartial;

public function initializeView(ViewInterface $view)
{
/** @var FusionView $view */
$view->setFusionPath('backend');
}

/**
* Displays the backend interface
*
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Backend/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ include: ./Application.fusion
#
# Neos UI (Content Module) entry point
#
backend = Neos.Neos.Ui:Application {
Neos.Neos.Ui.BackendController.index = Neos.Neos.Ui:Application {
title = 'Neos CMS'
}

0 comments on commit 9d58de7

Please sign in to comment.