v2.31.0
-
Add
#with_content
to allow setting content without a block.Jordan Raine, Manuel Puyol
-
Add
with_request_url
test helper.Mario Schüttel
-
Improve feature parity with Rails translations
-
Don't create a translation backend if the component has no translation file
-
Mark translation keys ending with
html
as HTML-safe -
Always convert keys to String
-
Support multiple keys
Elia Schito
-
-
Fix errors on
asset_url
helpers whenasset_host
has no protocol.Elia Schito
-
Prevent slots from overriding the
#content
method when registering a slot with that name.Blake Williams
-
Deprecate
with_slot
in favor of the new slots API.Manuel Puyol