Skip to content

Commit

Permalink
Fixed incorrect '#each as' documentation to remove incorrect ','
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Stones authored and Tom Stones committed Feb 8, 2016
1 parent cb50d06 commit 17a7d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/builtin_helpers.haml
Expand Up @@ -138,8 +138,8 @@
The <code>each</code> helper also supports <a href="block_helpers.html#block-params">block parameters</a>, allowing for named references anywhere in the block.

:html
{{#each array as |value, key|}}
{{#each child as |childValue, childKey|}}
{{#each array as |value key|}}
{{#each child as |childValue childKey|}}
{{key}} - {{childKey}}. {{childValue}}
{{/each}}
{{/each}}
Expand Down

0 comments on commit 17a7d89

Please sign in to comment.