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:
parent
86754a8f7b
commit
dcf639f4ad
1 changed files with 2 additions and 1 deletions
|
@ -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 },
|
||||
|
|
Loading…
Reference in a new issue