mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove deprecated ActionView::Template#original_encoding
This commit is contained in:
parent
d6575dc42e
commit
9d2a0c903d
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
* Remove deprecated `ActionView::Template#original_encoding`.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
||||
* Remove deprecated `ActionView::Template#variants`.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
|
|
@ -114,7 +114,7 @@ module ActionView
|
|||
|
||||
extend Template::Handlers
|
||||
|
||||
attr_reader :identifier, :handler, :original_encoding
|
||||
attr_reader :identifier, :handler
|
||||
attr_reader :variable, :format, :variant, :locals, :virtual_path
|
||||
|
||||
def initialize(source, identifier, handler, locals:, format: nil, variant: nil, virtual_path: nil)
|
||||
|
@ -136,7 +136,6 @@ module ActionView
|
|||
@compile_mutex = Mutex.new
|
||||
end
|
||||
|
||||
deprecate :original_encoding
|
||||
deprecate def refresh(_); self; end
|
||||
|
||||
# Returns whether the underlying handler supports streaming. If so,
|
||||
|
|
|
@ -55,6 +55,8 @@ Please refer to the [Changelog][action-pack] for detailed changes.
|
|||
|
||||
### Removals
|
||||
|
||||
* Remove deprecated `ActionView::Template#original_encoding`.
|
||||
|
||||
* Remove deprecated `ActionView::Template#variants`.
|
||||
|
||||
* Remove deprecated `ActionView::Template#formats`.
|
||||
|
|
Loading…
Reference in a new issue