Skip to content

Commit

Permalink
Merge pull request #217 from mike-north/collection-yield-idx
Browse files Browse the repository at this point in the history
Yield index in collection block syntax
  • Loading branch information
mike-north committed Aug 23, 2015
2 parents cb72d64 + 66c15bd commit c6e63fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/templates/components/md-collection.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if _hasHeader}}
{{view headerView}}
{{/if}}
{{#each content as |item|}}
{{yield item}}
{{#each content as |item idx|}}
{{yield item idx}}
{{/each}}

0 comments on commit c6e63fb

Please sign in to comment.