Skip to content

Commit

Permalink
[DOC release] Use co-location in example file path
Browse files Browse the repository at this point in the history
Co-Authored-By: Ricardo Mendes <rokusu@gmail.com>
(cherry picked from commit e6e667a)
  • Loading branch information
dmzza authored and kategengler committed Jan 20, 2020
1 parent 0526cb0 commit e2c356b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ember/-internals/glimmer/lib/modifiers/on.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function addEventListener(
For example, in our example case above if you'd like to pass in the post that
was being liked when the button is clicked you could do something like:
```app/templates/components/like-post.hbs
```app/components/like-post.hbs
<button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>
```
Expand Down

0 comments on commit e2c356b

Please sign in to comment.