Skip to content

Commit 35d23cd

Browse files
committed
Fix: You attempted to render a path ({{model.post_id}}), but model was not in scope:
1 parent 431ef17 commit 35d23cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: addon/tests/unit/setup-application-context-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module('setupApplicationContext', function (hooks) {
7878
{{outlet}}
7979
`,
8080
'template:links-to-slow': hbs`{{#link-to "slow" class="to-slow"}}to slow{{/link-to}}`,
81-
'template:posts/post': hbs`<div class="post-id">{{model.post_id}}</div>`,
81+
'template:posts/post': hbs`<div class="post-id">{{this.model.post_id}}</div>`,
8282
};
8383
}
8484

0 commit comments

Comments
 (0)