Skip to content

Commit

Permalink
Remove deprecated formats from ActionView::Template::Text
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Oct 30, 2020
1 parent 7190485 commit 217eb5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions actionview/CHANGELOG.md
@@ -1,3 +1,7 @@
* Remove deprecated `formats` from `ActionView::Template::Text`.

*Rafael Mendonça França*

* Remove deprecated `find_file` from `ActionView::PathSet`.

*Rafael Mendonça França*
Expand Down
3 changes: 0 additions & 3 deletions actionview/lib/action_view/template/text.rb
Expand Up @@ -27,9 +27,6 @@ def render(*args)
def format
:text
end

def formats; Array(format); end
deprecate :formats
end
end
end
2 changes: 2 additions & 0 deletions guides/source/6_1_release_notes.md
Expand Up @@ -55,6 +55,8 @@ Please refer to the [Changelog][action-pack] for detailed changes.

### Removals

* Remove deprecated `formats` from `ActionView::Template::Text`.

* Remove deprecated `find_file` from `ActionView::PathSet`.

* Remove deprecated `rendered_format` from `ActionView::LookupContext`.
Expand Down

0 comments on commit 217eb5d

Please sign in to comment.