summaryrefslogtreecommitdiff
path: root/app/Controller/TaskPopoverController.php
blob: 4e3c11a38d65edda1f7b14b76e56dcdd8aed40b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

namespace Kanboard\Controller;

/**
 * Task Popover
 *
 * @package  Kanboard\Controller
 * @author   Frederic Guillot
 */
class TaskPopoverController extends BaseController
{
    /**
     * Screenshot popover
     *
     * @access public
     */
    public function screenshot()
    {
        $task = $this->getTask();

        $this->response->html($this->template->render('task_file/screenshot', array(
            'task' => $task,
        )));
    }
}