1
0
Fork 0
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:
Rafael França 2016-09-14 16:08:36 -03:00 committed by GitHub
commit 26a1034a89

View file

@ -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