Skip to content

Commit

Permalink
Update update.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
MvdO79 authored Nov 5, 2023
1 parent 53929d4 commit 432ca27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wheels/public/docs/reference/model/update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
post = model("post").findByKey(33);
post.update(title="New version of Wheels just released");

// Get a post object and then update its title and other properties based on what is pased in from the URL/form
// Get a post object and then update its title and other properties based on what is passed in from the URL/form
post = model("post").findByKey(params.key);
post.update(title="New version of Wheels just released", properties=params.post);

Expand Down

0 comments on commit 432ca27

Please sign in to comment.