template extends person layout, fix syntax

This commit is contained in:
2021-08-03 00:46:56 +02:00
parent 7665181d44
commit 7ee91afae2
4 changed files with 4 additions and 4 deletions

View File

@@ -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';
}

View File

@@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
{% extends layout %}
{% extends '@ChillPerson/Person/layout.html.twig' %}
{% set activeRouteKey = 'chill_task_single_task_new' %}