Permalink
Browse files

Should be updateProperties

  • Loading branch information...
1 parent e31eb8b commit c8a5ce892aec216db9aa8e09ce35e487c19acaa0 mde committed Nov 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/todo_app/app/controllers/todos.js
View
2 examples/todo_app/app/controllers/todos.js
@@ -47,7 +47,7 @@ var Todos = function () {
this.update = function (req, resp, params) {
var self = this;
geddy.model.Todo.first(params.id, function (err, todo) {
- todo.updateAttributes(params);
+ todo.updateProperties(params);
todo.save(function (err, data) {
if (err) {

0 comments on commit c8a5ce8

Please sign in to comment.