Skip to content

Commit

Permalink
Merge pull request #26498 from FriedSock/correct-render-text-deprecat…
Browse files Browse the repository at this point in the history
…ion-message

Correct `render text:` deprecation message
  • Loading branch information
rafaelfranca committed Sep 14, 2016
2 parents 0ad3841 + 875dde1 commit 26a1034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/metal/rendering.rb
Expand Up @@ -90,7 +90,7 @@ def _normalize_options(options) #:nodoc:
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

Expand Down

0 comments on commit 26a1034

Please sign in to comment.