Skip to content

Commit 00394eb

Browse files
committed
Fix bug caused by incorrect function call.
1 parent 3c08552 commit 00394eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ private function addLinkRelationHeaders(Response $response, string $path, $mime=
675675
// @FIXME: If a `.meta` file is requested, it must have header `Link: </path/to/resource>; rel="describes"`
676676

677677
if ($this->hasAcl($path, $mime)) {
678-
$value = sprintf('<%s>; rel="acl"', $this->getDescribedByPath($path, $mime));
678+
$value = sprintf('<%s>; rel="acl"', $this->getAclPath($path, $mime));
679679
$response = $response->withAddedHeader('Link', $value);
680680
}
681681

0 commit comments

Comments
 (0)