mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
template extends person layout, fix syntax
This commit is contained in:
@@ -547,7 +547,7 @@ class SingleTaskController extends AbstractController
|
||||
$viewParams['tasks_count'] = $tasks_count;
|
||||
|
||||
if ($viewParams['person'] !== null){
|
||||
$viewParams['layout'] = 'ChillPersonBundle::layout.html.twig';
|
||||
$viewParams['layout'] = '@ChillPerson/Person/layout.html.twig';
|
||||
} else {
|
||||
$viewParams['layout'] = '@ChillMain/layout.html.twig';
|
||||
}
|
||||
|
Reference in New Issue
Block a user