From 0629c5c4bdff6965e2dc156af7d56fe3915ffdd2 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Sun, 3 Nov 2019 23:20:00 +0100 Subject: [PATCH] ServiceLinks: Add history --- library/Eagle/Common/ServiceLinks.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/library/Eagle/Common/ServiceLinks.php b/library/Eagle/Common/ServiceLinks.php index 061f28af..48fd2e94 100644 --- a/library/Eagle/Common/ServiceLinks.php +++ b/library/Eagle/Common/ServiceLinks.php @@ -43,6 +43,13 @@ abstract class ServiceLinks ); } + public static function history(Service $service, Host $host) + { + return Url::fromPath( + 'eagle/service/history', ['name' => $service->name, 'host.name' => $host->name] + ); + } + public static function removeAcknowledgement(Service $service, Host $host) { return Url::fromPath(