mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #26498 from FriedSock/correct-render-text-deprecation-message
Correct `render text:` deprecation message
This commit is contained in:
commit
26a1034a89
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ module ActionController
|
|||
render as `text/plain`, `render html: '<strong>HTML</strong>'` to
|
||||
render as `text/html`, or `render body: 'raw'` to match the deprecated
|
||||
behavior and render with the default Content-Type, which is
|
||||
`text/plain`.
|
||||
`text/html`.
|
||||
WARNING
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue