summaryrefslogtreecommitdiffstats
path: root/application/controllers/IdoServicesController.php
blob: f55e1d7e7e2fe343dddcc7274b5dbb26c98ccf3b (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\IdoServiceStatusCube;
use Icinga\Module\Cube\Web\IdoController;

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

        $this->renderCube();
    }

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