Skip to content

Commit 2ea32aa

Browse files
committed
Update README.md
1 parent 41d39f6 commit 2ea32aa

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,11 @@ $mappings = [
8686
],
8787
'urls' => [
8888
'self' => 'http://example.com/posts/{postId}',
89-
'relationships' => [
90-
Comment::class => 'http://example.com/posts/{postId}/relationships/comments',
89+
],
90+
'relationships' => [
91+
'comment' => [
92+
'self' => 'http://example.com/posts/{postId}/relationships/comments',
93+
],
9194
],
9295
],
9396
],

0 commit comments

Comments
 (0)