1<?php
2
3namespace Kanboard\Controller;
4
5/**
6 * Task Popover
7 *
8 * @package  Kanboard\Controller
9 * @author   Frederic Guillot
10 */
11class TaskPopoverController extends BaseController
12{
13    /**
14     * Screenshot popover
15     *
16     * @access public
17     */
18    public function screenshot()
19    {
20        $task = $this->getTask();
21
22        $this->response->html($this->template->render('task_file/screenshot', array(
23            'task' => $task,
24        )));
25    }
26}
27