diff --git a/Content/UserInterface/Controller/Website/ContentController.php b/Content/UserInterface/Controller/Website/ContentController.php index f98c9000..8542983c 100644 --- a/Content/UserInterface/Controller/Website/ContentController.php +++ b/Content/UserInterface/Controller/Website/ContentController.php @@ -14,6 +14,7 @@ namespace Sulu\Bundle\ContentBundle\Content\UserInterface\Controller\Website; use Sulu\Bundle\WebsiteBundle\Controller\DefaultController; +use Sulu\Component\Content\Compat\StructureInterface; /** * TODO this controller will later replace the DefaultController of the WebsiteBundle @@ -21,4 +22,8 @@ */ class ContentController extends DefaultController { + public function indexAction(StructureInterface $structure, $preview = false, $partial = false) + { + return parent::indexAction($structure, $preview, $partial); + } } diff --git a/Resources/config/controller.xml b/Resources/config/controller.xml index 6b905ac8..92d30fb1 100644 --- a/Resources/config/controller.xml +++ b/Resources/config/controller.xml @@ -8,12 +8,11 @@ public="true"> - - +