Skip to content

Commit c7c1cf7

Browse files
committed
Merge pull request #123 from ClimbsRocks/patch-1
Fixed a typo where "exist" should be "exists"
2 parents 8bde8aa + c5af636 commit c7c1cf7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_posts/2011-01-29-what-is-a-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ If we instantiate a model with an `id`, Backbone.js will automatically perform a
219219

220220
### Updating a model
221221

222-
Now that we have a model that exist on the server we can perform an update using a PUT request.
222+
Now that we have a model that exists on the server we can perform an update using a PUT request.
223223
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)
224224

225225
{% highlight javascript %}
@@ -245,7 +245,7 @@ We will use the `save` api call which is intelligent and will send a PUT request
245245

246246
### Deleting a model
247247

248-
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).
248+
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).
249249

250250
{% highlight javascript %}
251251

0 commit comments

Comments
 (0)