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

remove outdated comment

all parameter parsing is done on the request object now, so we don't
need to worry about at ParamParser middleware
This commit is contained in:
Aaron Patterson 2015-09-18 14:34:42 -07:00
parent d14d41282e
commit 58dba19a0b

View file

@ -77,10 +77,6 @@ module ActionController
set_header k, 'application/x-www-form-urlencoded'
end
# FIXME: setting `request_parametes` is normally handled by the
# params parser middleware, and we should remove this roundtripping
# when we switch to caling `call` on the controller
case content_mime_type.to_sym
when nil
raise "Unknown Content-Type: #{content_type}"