diff --git a/examples/todo_app/app/controllers/todos.js b/examples/todo_app/app/controllers/todos.js index b36478df..9d119a8a 100644 --- a/examples/todo_app/app/controllers/todos.js +++ b/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) {