mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-12 16:34:26 +02:00
17 lines
392 B
PHP
17 lines
392 B
PHP
<?php
|
|
|
|
namespace Icinga\Module\Director\Controllers;
|
|
|
|
use Icinga\Module\Director\Objects\IcingaUser;
|
|
use Icinga\Module\Director\Web\Controller\TemplateController;
|
|
|
|
class UsertemplateController extends TemplateController
|
|
{
|
|
protected function requireTemplate()
|
|
{
|
|
return IcingaUser::load([
|
|
'object_name' => $this->params->get('name')
|
|
], $this->db());
|
|
}
|
|
}
|