When i do
var bob = App.MyModel.create().setProperties({ name: "bob marley" }); router.get('applicationController').connectOutlet('my', bob);
The MyModel instance becomes the content property of the MyController instance. From what I read in the manual, the controller instance becomes the context for the handlebars template displayed by MyView .
Does this mean that I should always prefix the model properties with content. in templates?
<h1>{{content.name}}</h1>
is there something i don't see or is this the right way to do this?
source share