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}')), - ]), + ], ] ]); }