aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/http
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-26 16:17:29 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-26 16:17:29 -0700
commit446b6855dc88715315ce1ea15c25d1e821f8e598 (patch)
treebac578f973b59bf983a58bc610b51d19b288c8d1 /actionpack/lib/action_dispatch/http
parent3b8395a8825962b7ddbcb43a24334e5a5994ffde (diff)
downloadrails-446b6855dc88715315ce1ea15c25d1e821f8e598.tar.gz
rails-446b6855dc88715315ce1ea15c25d1e821f8e598.tar.bz2
rails-446b6855dc88715315ce1ea15c25d1e821f8e598.zip
remove useless code
If AV::Rendering is mixed in, then `rendered_format` will be calculated based on the current `lookup_context`, but calling `_process_format` will set the `rendered_format` back on to the same lookup context where we got the information in the first place! Instead of getting information from an object, then setting the same information back on to that object, lets just do nothing instead!
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
0 files changed, 0 insertions, 0 deletions