mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 23:17:19 +01:00
Refactored source to entity template
This commit is contained in:
parent
b6f7a1e9b8
commit
327818295a
@ -18,6 +18,11 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
|
||||
{
|
||||
use ActionTypeAttribut;
|
||||
|
||||
/**
|
||||
* @var string The path to the general entity template
|
||||
*/
|
||||
const TWIG_ENTITY_TEMPLATE_PATH = 'entity/entity.html.twig';
|
||||
|
||||
/**
|
||||
* @var ActionHandlerServiceInterface
|
||||
*/
|
||||
@ -49,8 +54,7 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
|
||||
private function getView(): View
|
||||
{
|
||||
$view = View::create();
|
||||
$view->setTemplate($this->templateNameService->getMoleculeTemplateName());
|
||||
|
||||
$view->setTemplate(self::TWIG_ENTITY_TEMPLATE_PATH);
|
||||
return $view;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user