Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
{{#each posts}} {{view App.PostView controller=App.PostController}} {{/each}}
但这总是得到 parentView 控制器而不是 PostController。
I think you miss putting App.PostController between double quotes. The controller have to be an instance, not a class here. So you have to instantiate App.PostController in your js code beafore using it in the template.