Permalink
Browse files

updateAttributes should be updateProperties

  • Loading branch information...
1 parent c8a5ce8 commit 6b0def7b2d75c7d6a5d3ec1a9a305ffc3ea9e06e mde committed Nov 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/scaffold/controller.ejs
@@ -53,7 +53,7 @@ var <%= names.constructor.plural %> = function () {
var self = this;
geddy.model.<%= names.constructor.singular %>.first(params.id, function(err, <%= names.property.singular %>) {
- <%= names.property.singular %>.updateAttributes(params);
+ <%= names.property.singular %>.updateProperties(params);
<%= names.property.singular %>.save(function(err, data) {
if (err) {

0 comments on commit 6b0def7

Please sign in to comment.