public function commentAction(Request $request)
    {
        $id = $request->get('id');
        $comment = $request->get('comment');

        if ($comment) {
            $comment = urldecode($comment);
        }

        $taskManager = $this->get('phlexible_task.task_manager');

        $task = $taskManager->find($id);
        $taskManager->updateTask($task, $this->getUser(), null, null, $comment);

        return new ResultResponse(true, 'Task comment created.', array('task' => $this->serializeTask($task)));
    }