From 98a22f2d76f443df3001a2c5bc9836cce663d3c9 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 4 Nov 2019 15:47:27 +0100 Subject: [PATCH] Add Links::comments --- library/Eagle/Common/Links.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/Eagle/Common/Links.php b/library/Eagle/Common/Links.php index ca76fa2e..8728aa16 100644 --- a/library/Eagle/Common/Links.php +++ b/library/Eagle/Common/Links.php @@ -18,6 +18,11 @@ abstract class Links return Url::fromPath('eagle/comment', ['name' => $comment->name]); } + public static function comments() + { + return Url::fromPath('eagle/comments'); + } + public static function host(Host $host) { return Url::fromPath('eagle/host', ['name' => $host->name]);