about summary refs log tree commit diff
path: root/config/initializers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-08 19:12:54 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-08 19:12:54 +0100
commit2e71bb031b2dff90a2b0f9854bdcd804c069268a (patch)
tree497ec245e76171104da92f8f785ea7564a3a4a69 /config/initializers
parent38bc85e695e08956db6b29d482942dc759c57423 (diff)
Fix Paperclip timeout setting. Fix bug introduced in #437
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/paperclip.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/paperclip.rb b/config/initializers/paperclip.rb
index 4d6154562..999ff47c7 100644
--- a/config/initializers/paperclip.rb
+++ b/config/initializers/paperclip.rb
@@ -1,6 +1,6 @@
 # frozen_string_literal: true
 
-Paperclip::Attachment.default_options[:read_timeout] = 60
+Paperclip.options[:read_timeout] = 60
 
 if ENV['S3_ENABLED'] == 'true'
   Aws.eager_autoload!(services: %w(S3))