<?php
namespace App\Controller\Website;
use App\Entity\DataTScopus;
use Sulu\Bundle\WebsiteBundle\Controller\DefaultController as SuluController;
use Sulu\Component\Content\Compat\StructureInterface;
use Symfony\Component\HttpFoundation\Response;
class DefaultController extends SuluController
{
/**
* Loads the content from the request (filled by the route provider) and creates a response with this content and
* the appropriate cache headers.
*
* @param bool $preview
* @param bool $partial
*
* @return Response
*/
public function indexAction(StructureInterface $structure, $preview = false, $partial = false)
{
$response = $this->renderStructure(
$structure,
[],
$preview,
$partial
);
return $response;
}
}