linkTo Handlebar ヘルパーを機能させるのに問題があります
私はこのルート設定を持っています:
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}}
ただし、結果のリンクは /contact/show/undefined です
私は何を間違っていますか?
補足: 私は Ember.Data とモデルを使用していません。