Skip to content

Commit

Permalink
Merge pull request #65 from jenweber/patch-1
Browse files Browse the repository at this point in the history
Update README about function helpers
  • Loading branch information
chriskrycho authored Jan 27, 2023
2 parents 1a387e9 + 0f70078 commit 10298d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Usage

### Functions

**Good news!** As of Ember 4.5, this feature is now built into Ember, and includes both positional and named arguments. For more details, read the [Plain Old Functions as Helper blog post](https://blog.emberjs.com/plain-old-functions-as-helpers/).

You can export plain functions from inside `app/helpers` and use them as helpers. This only support positional arguments:

```js
Expand Down

0 comments on commit 10298d1

Please sign in to comment.