mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1858cc6070
Take variants into account when calculating template digests in ActionView::Digest. Digestor#digest now takes a hash as an argument to support variants and allow more flexibility in the future. Old-style arguments have been deprecated. Fixes #14242
660 B
660 B
-
Fixed a problem where the default options for the
button_tag
helper is not applied correctly.Fixes #14254.
Sergey Prikhodko
-
Take variants into account when calculating template digests in ActionView::Digestor.
The arguments to ActionView::Digestor#digest are now being passed as a hash to support variants and allow more flexibility in the future. The support for regular (required) arguments is deprecated and will be removed in Rails 5.0 or later.
Piotr Chmolowski, Łukasz Strzałkowski
Please check 4-1-stable for previous changes.