我有得到linkTo车把助手问题工作使用灰烬PRE4 linkTo车把
我有这条路线设置:
this.resource("contact", function(){
this.route('new');
this.route('show', { path: "/:contactid" });
this.route('edit', { path: "edit/:contactid" });
}
在我的模板
我有以下代码:
{{#each entry in controller.entries}}
{#linkTo "contact.show" entry href="true" }}test {{firstname}} {{lastname}}{{/linkTo}}
{{/each}}
生成的链接,虽然是/联系人/显示/未定义
我在做什么错?
旁注:我没有使用Ember.Data和模型。
的感谢!这也帮助我解决了其他问题 – AyKarsi