Skip to content

Commit 452848a

Browse files
Fix: You attempted to render a path ({{model.post_id}}), but model was not in scope:
Co-Authored-By: void_malex <void-mAlex@users.noreply.github.com>
1 parent 6e56fcc commit 452848a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addon/tests/unit/setup-application-context-test.js

Lines changed: 1 addition & 1 deletion
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)