aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2012-04-12 09:52:41 -0700
committerErich Menge <erich.menge@me.com>2012-08-15 08:43:49 -0500
commitbccc35b13e4782bde4a8def9b52c21f1eda0b4b1 (patch)
tree7edcb85799b6a651d04979480e67997d1a12f2bd /actionpack/lib/action_view.rb
parent786713a3abc375fab4d5c2f6f62a878c2ab51022 (diff)
downloadrails-bccc35b13e4782bde4a8def9b52c21f1eda0b4b1.tar.gz
rails-bccc35b13e4782bde4a8def9b52c21f1eda0b4b1.tar.bz2
rails-bccc35b13e4782bde4a8def9b52c21f1eda0b4b1.zip
Backport 5c51cd0: #send_file leans on Rack::Sendfile to X-Accel-Redirect the file's path, so opening the file to set the response body is wasteful. Set a FileBody wrapper instead that responds to to_path and streams the file if needed.
Diffstat (limited to 'actionpack/lib/action_view.rb')
0 files changed, 0 insertions, 0 deletions