Skip to content

Commit 8d824ea

Browse files
kriszypcb1kenobi
andauthored
Update docs/developers/applications/README.md
Co-authored-by: Chris Barber <[email protected]>
1 parent fabafac commit 8d824ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/developers/applications/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ And a POST request to /CustomDog/ would call this `post` method. The Resource cl
319319

320320
The `post` method automatically marks the current instance as being update. However, you can also explicitly specify that you are changing a resource by calling the `update()` method. If you want to modify a resource instance that you retrieved through a `get()` call (like `Breed.get()` call above), you can call its `update()` method to ensure changes are saved (and will be committed in the current transaction).
321321

322-
We can also define custom authorization capabilities. For example, we might want to specify that only the owner of a dog can make updates to a dog. We could add logic to our `post` method or `put` method to do this. For example, we might do this:
322+
We can also define custom authorization capabilities. For example, we might want to specify that only the owner of a dog can make updates to a dog. We could add logic to our `post()` method or `put()` method to do this. For example, we might do this:
323323

324324
```javascript
325325
export class CustomDog extends Dog {

0 commit comments

Comments
 (0)