を使用してテンプレートにデータを渡す私は(レンダリング使用してテンプレートをレンダリングしたい)といくつかのデータを渡すために(モデル)をしたいエンバー問題this.render
私はモデルとしてパラメータを渡す場合、私は、テンプレート内のデータを取得 モデル:this.controllerFor(this.routeName).someModel
this.render('my-template', {
into: 'application',
outlet: 'myOutlet',
model: this.controllerFor(this.routeName).someModel
});
ただし、以下は機能しません。渡されたモデルの命名にいくつかの制限がありますか?
this.render('my-template', {
into: 'application',
outlet: 'flyout',
myModel: this.controllerFor(this.routeName).someModel
});