diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-08-28 12:59:16 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-16 15:43:11 +0100 |
commit | 56ce526acdcb1b5493bc11f14b751b5c3f02f686 (patch) | |
tree | 8ddd888ba12d1751aa1271218d88b77762859e4f | |
parent | 661a103922279f05ad5027d0dfabc8a0ff649e92 (diff) |
No need to set permissions on file now.
Either rails or the webserver will be sending it, we're not redirecting
anymore.
-rw-r--r-- | app/controllers/request_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index e5950c41d..e7905e505 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -883,7 +883,6 @@ class RequestController < ApplicationController if !File.exists?(cache_file_path) FileUtils.mkdir_p(File.dirname(cache_file_path)) make_request_zip(@info_request, cache_file_path) - File.chmod(0644, cache_file_path) end send_file(cache_file_path, :filename => "#{@info_request.url_title}.zip") end |