aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/testing
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-26 10:34:36 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-26 10:51:13 -0700
commit27daea82d77a81a866ca20f547ab66e0f47d6380 (patch)
treeb41febb5ec2576fd92f23ed950d3cc23de90da3f /actionpack/lib/action_dispatch/testing
parent02f5a28f4093173eafb6e2e6b82feb7e04d94d1b (diff)
downloadrails-27daea82d77a81a866ca20f547ab66e0f47d6380.tar.gz
rails-27daea82d77a81a866ca20f547ab66e0f47d6380.tar.bz2
rails-27daea82d77a81a866ca20f547ab66e0f47d6380.zip
use the content_type method on the request object
since the controller always has a request on it, we can just ask the request for the content type.
Diffstat (limited to 'actionpack/lib/action_dispatch/testing')
0 files changed, 0 insertions, 0 deletions