summaryrefslogtreecommitdiffstats
path: root/application/controllers/IndexController.php
blob: 082fda3fcedce223154008f8c30c27eabcea65e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

// Icinga Web 2 Cube Module | (c) 2016 Icinga GmbH | GPLv2

namespace Icinga\Module\Cube\Controllers;

use Icinga\Web\Controller;

class IndexController extends Controller
{
    public function indexAction()
    {
        $this->redirectNow('cube/hosts' . ($this->params->toString() === '' ? '' : '?' . $this->params->toString()));
    }
}