mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 17:29:04 +00:00 
			
		
		
		
	Refactored source to entity template
This commit is contained in:
		| @@ -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; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user