From 07278e878dd5d41b92c6831245476aa308f03b1c Mon Sep 17 00:00:00 2001 From: Christoph Kappestein Date: Sun, 22 Mar 2015 12:03:40 +0100 Subject: [PATCH] fix documentation controller detail link --- library/PSX/Controller/Tool/DocumentationController.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/PSX/Controller/Tool/DocumentationController.php b/library/PSX/Controller/Tool/DocumentationController.php index 64f9868e..191daf9a 100644 --- a/library/PSX/Controller/Tool/DocumentationController.php +++ b/library/PSX/Controller/Tool/DocumentationController.php @@ -70,14 +70,14 @@ public function doIndex() 'metas' => $this->getMetaLinks(), 'routings' => $this->getRoutings(), 'links' => [ - new Record('link', [ + [ 'rel' => 'self', 'href' => $this->reverseRouter->getUrl(get_class($this) . '::doIndex'), - ]), - new Record('link', [ + ], + [ 'rel' => 'detail', 'href' => $this->reverseRouter->getUrl(get_class($this) . '::doDetail', array('{version}', '{path}')), - ]), + ], ] ]); }