Skip to content

Commit fb356c4

Browse files
committed
Repair LinkTo and this. missed during rebase
1 parent 77f0849 commit fb356c4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<ol>
2-
{{#each crates as |crate index|}}
2+
{{#each this.crates as |crate index|}}
33
<li>
4-
{{#link-to 'crate' crate.id class='name' data-test-crate-link=index}}
4+
<LinkTo @route="crate" @model={{crate.id}} class="name" data-test-crate-link={{index}}>
55
<span>{{ crate.name }}</span>
66
<div class='arrow-in-list'>
77
{{svg-jar "right-arrow"}}
88
</div>
9-
{{/link-to}}
9+
</LinkTo>
1010
</li>
1111
{{/each}}
1212
</ol>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<ol>
2-
{{#each crates as |crate index|}}
2+
{{#each this.crates as |crate index|}}
33
<li>
4-
{{#link-to 'crate.version' crate.id crate.newest_version class='name' data-test-crate-link=index}}
4+
<LinkTo @route="crate.version" @models={{array crate.id crate.newest_version}} class="name" data-test-crate-link={{index}}>
55
<span>{{ crate.name }} ({{ crate.newest_version }})</span>
66
<div class='arrow-in-list'>
77
{{svg-jar "right-arrow"}}
88
</div>
9-
{{/link-to}}
9+
</LinkTo>
1010
</li>
1111
{{/each}}
1212
</ol>

0 commit comments

Comments
 (0)