From 83c12fefcf604c7d8104282f5e4f6825aaa21ca5 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 9 Sep 2021 16:25:28 +0200 Subject: [PATCH] SingleServiceInfo: fix URL for single services This affected clicking "modify" in the monitoring module --- .../Director/DirectorObject/Lookup/SingleServiceInfo.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Director/DirectorObject/Lookup/SingleServiceInfo.php b/library/Director/DirectorObject/Lookup/SingleServiceInfo.php index 91eaf633..3f22043b 100644 --- a/library/Director/DirectorObject/Lookup/SingleServiceInfo.php +++ b/library/Director/DirectorObject/Lookup/SingleServiceInfo.php @@ -57,9 +57,9 @@ class SingleServiceInfo implements ServiceInfo public function getUrl() { - return Url::fromPath('director/host/service', [ - 'name' => $this->hostName, - 'service' => $this->serviceName, + return Url::fromPath('director/service/edit', [ + 'host' => $this->hostName, + 'name' => $this->serviceName, ]); }