diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 0782b917f4..6b1268091f 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -1,3 +1,7 @@ +* Remove deprecated `ActionView::Template#virtual_path=`. + + *Rafael Mendonça França* + * Remove deprecated `ActionView::Template#updated_at`. *Rafael Mendonça França* diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb index d9487141bd..b7ac33fbe8 100644 --- a/actionview/lib/action_view/template.rb +++ b/actionview/lib/action_view/template.rb @@ -137,7 +137,6 @@ module ActionView end deprecate :original_encoding - deprecate def virtual_path=(_); end deprecate def formats=(_); end deprecate def formats; Array(format); end deprecate def variants=(_); end diff --git a/guides/source/6_1_release_notes.md b/guides/source/6_1_release_notes.md index 4db8c19c0a..8debd2ce30 100644 --- a/guides/source/6_1_release_notes.md +++ b/guides/source/6_1_release_notes.md @@ -55,6 +55,8 @@ Please refer to the [Changelog][action-pack] for detailed changes. ### Removals +* Remove deprecated `ActionView::Template#virtual_path=`. + * Remove deprecated `ActionView::Template#updated_at`. * Remove deprecated `updated_at` argument required on `ActionView::Template#initialize`.