Skip to content

Commit ea256ca

Browse files
authored
Fix endpoint in subresource guide (#6420)
1 parent 332aaa1 commit ea256ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/subresource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Company
7575
function request(): Request
7676
{
7777
// Persistence is automatic, you can try to create or read data:
78-
return Request::create('/company/1/employees', 'GET');
78+
return Request::create('/companies/1/employees', 'GET');
7979
}
8080
}
8181

0 commit comments

Comments
 (0)