mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-02-12 15:23:19 -05:00
17 lines
410 B
PHP
17 lines
410 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Icinga\Module\Director\Controllers;
|
||
|
|
|
||
|
|
use Icinga\Module\Director\Objects\IcingaDependency;
|
||
|
|
use Icinga\Module\Director\Web\Controller\TemplateController;
|
||
|
|
|
||
|
|
class DependencytemplateController extends TemplateController
|
||
|
|
{
|
||
|
|
protected function requireTemplate()
|
||
|
|
{
|
||
|
|
return IcingaDependency::load([
|
||
|
|
'object_name' => $this->params->get('name')
|
||
|
|
], $this->db());
|
||
|
|
}
|
||
|
|
}
|