Skip to content
This repository was archived by the owner on Jul 10, 2018. It is now read-only.

Commit e393cfd

Browse files
committed
fix merge problem on S3 storage
1 parent 7b4ebdf commit e393cfd

File tree

1 file changed

+1
-1
lines changed
  • lib/paperclip/storage

1 file changed

+1
-1
lines changed

lib/paperclip/storage/s3.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def sanitize_hash(hash)
153153
Proc.new do |style, attachment|
154154
permission = (@s3_permissions[style.to_s.to_sym] || @s3_permissions[:default])
155155
permission = permission.call(attachment, style) if permission.respond_to?(:call)
156-
(permission == DEFAULT_PERMISSIONpublic_read) ? 'http'.freeze : 'https'.freeze
156+
(permission == DEFAULT_PERMISSION) ? 'http'.freeze : 'https'.freeze
157157
end
158158
@s3_metadata = @options[:s3_metadata] || {}
159159
@s3_headers = {}

0 commit comments

Comments
 (0)