aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/params_wrapper.rb
diff options
context:
space:
mode:
authorKir Shatrov <shatrov@me.com>2016-09-21 13:16:59 -0400
committerKir Shatrov <shatrov@me.com>2016-09-21 13:16:59 -0400
commitaa7c4179ff3b0dba6c14e45cecaf853ac9446d41 (patch)
tree6242a8d2b1aa395d83065857fabaf7124500d512 /actionpack/lib/action_controller/metal/params_wrapper.rb
parentcf5f55cd30aef0f90300c7c8f333060fe258cd8a (diff)
downloadrails-aa7c4179ff3b0dba6c14e45cecaf853ac9446d41.tar.gz
rails-aa7c4179ff3b0dba6c14e45cecaf853ac9446d41.tar.bz2
rails-aa7c4179ff3b0dba6c14e45cecaf853ac9446d41.zip
Make :as option also set request format (AC::TestCase)
right now you'd have to specify both :as and :format: ``` post :create, params: { foo: "bar" } as: :json, format: :json ```
Diffstat (limited to 'actionpack/lib/action_controller/metal/params_wrapper.rb')
0 files changed, 0 insertions, 0 deletions