summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_posts/2011-01-29-what-is-a-model.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2011-01-29-what-is-a-model.md b/_posts/2011-01-29-what-is-a-model.md
index d6eac75..d75aed7 100644
--- a/_posts/2011-01-29-what-is-a-model.md
+++ b/_posts/2011-01-29-what-is-a-model.md
@@ -175,7 +175,7 @@ If we wish to create a new user on the server then we will instantiate a new Use
email: ''
}
});
- var user = new Usermodel();
+ var user = new UserModel();
// Notice that we haven't set an `id`
var userDetails = {
name: 'Thomas',