summaryrefslogtreecommitdiffstats
path: root/application/controllers/IframeController.php
blob: 8aebba4af70331e1d5f4139e8376ed79f0143286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */

namespace Icinga\Controllers;

use Icinga\Web\Controller;

/**
 * Display external or internal links within an iframe
 */
class IframeController extends Controller
{
    /**
     * Display iframe w/ the given URL
     */
    public function indexAction()
    {
        $this->view->url = $this->params->getRequired('url');
    }
}