Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Should be updateProperties

  • Loading branch information...
commit c8a5ce892aec216db9aa8e09ce35e487c19acaa0 1 parent e31eb8b
mde authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.