icingaweb2-module-director/application/controllers/ServicetemplateController.php

18 lines
457 B
PHP
Raw Normal View History

2017-04-20 09:12:48 +02:00
<?php
namespace Icinga\Module\Director\Controllers;
use Icinga\Module\Director\Web\Controller\SimpleController;
use Icinga\Module\Director\Web\Table\ServicesOnHostsTable;
class ServicetemplateController extends SimpleController
{
public function hostsAction()
{
$this->addSingleTab($this->translate('Hosts using this service Template'));
$this->content()->add(
new ServicesOnHostsTable($this->db())
);
}
}