Skip to content

Commit 741a18a

Browse files
Merge pull request #1456 from emberjs/fix-attempted-to-render
Fix: You attempted to render a path ({{model.post_id}}), but model was not in scope:
2 parents 624a366 + 452848a commit 741a18a

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)