1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[ci skip] Explain only :json is shipped by default.

Don't want to add defensive programming to this fairly
simple thing.

Fixes #27060.
This commit is contained in:
Kasper Timm Hansen 2016-11-23 22:19:44 +01:00
parent 86754a8f7b
commit dcf639f4ad

View file

@ -583,7 +583,8 @@ module ActionDispatch
# Calling +parsed_body+ on the response parses the response body based on the
# last response MIME type.
#
# For any custom MIME types you've registered, you can even add your own encoders with:
# Out of the box, only <tt>:json</tt> is supported. But for any custom MIME
# types you've registered, you can add your own encoders with:
#
# ActionDispatch::IntegrationTest.register_encoder :wibble,
# param_encoder: -> params { params.to_wibble },