summaryrefslogtreecommitdiffstats
path: root/application/controllers/IdoHostsController.php
blob: 86488234782fa2187714b9b46ff7b10051537d7b (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
<?php

// Icinga Cube Module | (c) 2022 Icinga GmbH | GPLv2

namespace Icinga\Module\Cube\Controllers;

use Icinga\Module\Cube\Ido\IdoCube;
use Icinga\Module\Cube\Ido\IdoHostStatusCube;
use Icinga\Module\Cube\Web\IdoController;

class IdoHostsController extends IdoController
{
    public function indexAction(): void
    {
        $this->createTabs()->activate('cube/hosts');

        $this->renderCube();
    }

    protected function getCube(): IdoCube
    {
        return new IdoHostStatusCube();
    }
}