File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
<ol >
2
- {{ #each crates as |crate index |}}
2
+ {{ #each this. crates as |crate index |}}
3
3
<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 }} >
5
5
<span >{{ crate.name }} </span >
6
6
<div class =' arrow-in-list' >
7
7
{{ svg-jar " right-arrow" }}
8
8
</div >
9
- {{ /link-to }}
9
+ </ LinkTo >
10
10
</li >
11
11
{{ /each }}
12
12
</ol >
Original file line number Diff line number Diff line change 1
1
<ol >
2
- {{ #each crates as |crate index |}}
2
+ {{ #each this. crates as |crate index |}}
3
3
<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 }} >
5
5
<span >{{ crate.name }} ({{ crate.newest_version }} )</span >
6
6
<div class =' arrow-in-list' >
7
7
{{ svg-jar " right-arrow" }}
8
8
</div >
9
- {{ /link-to }}
9
+ </ LinkTo >
10
10
</li >
11
11
{{ /each }}
12
12
</ol >
You can’t perform that action at this time.
0 commit comments