Add Links::hostsDetails()

This commit is contained in:
Eric Lippmann 2019-12-16 10:37:14 +01:00
parent 24f8d7436d
commit 6df2ff3254

View file

@ -49,6 +49,11 @@ abstract class Links
return Url::fromPath('icingadb/host', ['name' => $host->name]);
}
public static function hostsDetails()
{
return Url::fromPath('icingadb/hosts/details');
}
public static function hostgroup($hostgroup)
{
return Url::fromPath('icingadb/hostgroup', ['name' => $hostgroup->name]);