You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/web/app/Controllers/Admin/HostController.php

17 lines
470 B
PHTML

<?php
namespace App\Controllers\Admin;
use App\Controllers\AdminController;
use App\Services\Cloud\CloudCountryCatalog;
/** Layout preparation only: no credentials, host mutation or remote connection. */
final class HostController extends AdminController
{
public function index($request, $response, $args)
{
return $this->view()->assign('cloud_country_options', CloudCountryCatalog::options())
->display('admin/hosts/index.tpl');
}
}