Skip to content

Commit

Permalink
Add controller model property to documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonkristan committed Aug 14, 2014
1 parent bec883d commit 0546181
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/ember-runtime/lib/mixins/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,18 @@ export default Mixin.create(ActionHandler, ControllerContentModelAliasDeprecatio

store: null,

/**
The controller's current model. When retrieving or modifying a controller's
model, this property should be used instead of the `content` property.
@property model
@public
*/
model: null,

/**
@private
*/
content: computed.alias('model')

});
Expand Down

0 comments on commit 0546181

Please sign in to comment.