diff --git a/_site/what-is-a-model/index.html b/_site/what-is-a-model/index.html index 8f8eb7f2..91236cc4 100644 --- a/_site/what-is-a-model/index.html +++ b/_site/what-is-a-model/index.html @@ -307,8 +307,8 @@

Getting a model

Updating a model

-

Now that we have a model that exist on the server we can perform an update using a PUT request. -We will use the save api call which is intelligent and will send a PUT request instead of a POST request if an id is present(conforming to RESTful conventions)

+

Now that we have a model that exists on the server we can perform an update using a PUT request. +We will use the save api call which is intelligent and will send a PUT request instead of a POST request if an id is present (conforming to RESTful conventions).

    // Here we have set the `id` of the model
     var user = new UserModel({
@@ -330,7 +330,7 @@ 

Updating a model

Deleting a model

-

When a model has an id we know that it exist on the server, so if we wish to remove it from the server we can call destroy. destroy will fire off a DELETE /user/id (conforming to RESTful conventions).

+

When a model has an id we know that it exists on the server, so if we wish to remove it from the server we can call destroy. destroy will fire off a DELETE /user/id (conforming to RESTful conventions).

    // Here we have set the `id` of the model
     var user = new UserModel({