Remove deprecated find_file from ActionView::PathSet

This commit is contained in:
Rafael Mendonça França 2020-05-06 18:10:28 -04:00
parent b57e227f6d
commit 71904857d4
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
3 changed files with 6 additions and 3 deletions

@ -1,3 +1,7 @@
* Remove deprecated `find_file` from `ActionView::PathSet`.
*Rafael Mendonça França*
* Remove deprecated `rendered_format` from `ActionView::LookupContext`.
*Rafael Mendonça França*

@ -48,9 +48,6 @@ def find(*args)
find_all(*args).first || raise(MissingTemplate.new(self, *args))
end
alias :find_file :find
deprecate :find_file
def find_all(path, prefixes = [], *args)
_find_all path, prefixes, args
end

@ -55,6 +55,8 @@ Please refer to the [Changelog][action-pack] for detailed changes.
### Removals
* Remove deprecated `find_file` from `ActionView::PathSet`.
* Remove deprecated `rendered_format` from `ActionView::LookupContext`.
* Remove deprecated `find_file` from `ActionView::ViewPaths`.