Skip to content

Commit

Permalink
Fix endpoint in subresource guide (#6420)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamirault committed Jun 13, 2024
1 parent 332aaa1 commit ea256ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/subresource.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Company
function request(): Request
{
// Persistence is automatic, you can try to create or read data:
return Request::create('/company/1/employees', 'GET');
return Request::create('/companies/1/employees', 'GET');
}
}

Expand Down

0 comments on commit ea256ca

Please sign in to comment.