diff --git a/lib/application.js b/lib/application.js index e9420d35..e2d61b10 100644 --- a/lib/application.js +++ b/lib/application.js @@ -39,7 +39,7 @@ app.models = {}; * @param options {Object} * @returns {Model} */ - +app.defineModel = app.define = function (name, options) { options = options || {}; options.name = options.name || name;