Skip to content

Commit

Permalink
fix documentation controller detail link
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Mar 22, 2015
1 parent d944b0f commit 07278e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/PSX/Controller/Tool/DocumentationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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}')),
]),
],
]
]);
}
Expand Down

0 comments on commit 07278e8

Please sign in to comment.