|
|
@ -95,7 +95,7 @@ class TaskController extends AbstractController |
|
|
|
} |
|
|
|
|
|
|
|
$project = $task->getProject(); |
|
|
|
$nextTask = $repository->findNextOne($task); |
|
|
|
$randomTask = $repository->findRandomByProject($project, Task::STATUS_TODO); |
|
|
|
|
|
|
|
$comment = new Comment(); |
|
|
|
$commentForm = $this->createForm(CommentType::class, $comment, [ |
|
|
@ -145,7 +145,7 @@ class TaskController extends AbstractController |
|
|
|
'task' => $task, |
|
|
|
'project' => $project, |
|
|
|
'commentForm' => $commentForm, |
|
|
|
'nextTask' => $nextTask, |
|
|
|
'randomTask' => $randomTask, |
|
|
|
'josmCommands' => json_encode($josmCommands), |
|
|
|
]); |
|
|
|
} |
|
|
|