1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove deprecated ActionView::Template#variants

This commit is contained in:
Rafael Mendonça França 2020-05-05 19:31:11 -04:00
parent 2a10775ac1
commit d6575dc42e
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948
3 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
* Remove deprecated `ActionView::Template#variants`.
*Rafael Mendonça França*
* Remove deprecated `ActionView::Template#formats`. * Remove deprecated `ActionView::Template#formats`.
*Rafael Mendonça França* *Rafael Mendonça França*

View file

@ -137,8 +137,6 @@ module ActionView
end end
deprecate :original_encoding deprecate :original_encoding
deprecate def variants=(_); end
deprecate def variants; [variant]; end
deprecate def refresh(_); self; end deprecate def refresh(_); self; end
# Returns whether the underlying handler supports streaming. If so, # Returns whether the underlying handler supports streaming. If so,

View file

@ -55,6 +55,8 @@ Please refer to the [Changelog][action-pack] for detailed changes.
### Removals ### Removals
* Remove deprecated `ActionView::Template#variants`.
* Remove deprecated `ActionView::Template#formats`. * Remove deprecated `ActionView::Template#formats`.
* Remove deprecated `ActionView::Template#virtual_path=`. * Remove deprecated `ActionView::Template#virtual_path=`.