summaryrefslogtreecommitdiffstats
path: root/application/controllers/DependencytemplateController.php
blob: e2bc49d1cd69367866854d45a6a98536d3fd682c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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());
    }
}