diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-03-03 20:05:45 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-03-03 20:46:56 +0100 |
commit | 55dd060347bbd89c21b4c0e30ba8fbf4ad792c4e (patch) | |
tree | d5d026a5c04f4ae6ee839a9156d06b64be5a9d95 /activerecord | |
parent | 4443b3647d9e350713eb20a720997ded62b6848e (diff) | |
download | rails-55dd060347bbd89c21b4c0e30ba8fbf4ad792c4e.tar.gz rails-55dd060347bbd89c21b4c0e30ba8fbf4ad792c4e.tar.bz2 rails-55dd060347bbd89c21b4c0e30ba8fbf4ad792c4e.zip |
Handle files from ActionDispatch::Static with Rack::Sendfile (fixes #5225)
This makes rails behave properly when you serve static assets
and you have X-Sendfile headers enabled. Nevertheless in most
cases you should not rely on that and serve static assets with
a webserver like Apache or Nginx (as you already have it in
place anyway if you use X-Sendfile)
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions