Skip to content

Commit

Permalink
Add CHANGELOG entry for #38452
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
rafaelfranca committed Dec 9, 2020
1 parent 3c2a80d commit 2a41b6e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions actionview/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
* Add `config.action_view.image_loading` to configure the default value of
the `image_tag` `:loading` option.

By setting `config.action_view.image_loading = "lazy"`, an application can opt in to
lazy loading images sitewide, without changing view code.

*Jonathan Hefner*

* `ActionView::Helpers::FormBuilder#id` returns the value
of the `<form>` element's `id` attribute. With a `method` argument, returns
the `id` attribute for a form field with that name.
Expand Down

0 comments on commit 2a41b6e

Please sign in to comment.