Commit ee0fe89a by Jon Yurek

Clean formatting of previous commit

parent d0eda83d
......@@ -138,7 +138,10 @@ module Paperclip
@s3_headers[:storage_class] = @options[:s3_storage_class] if @options[:s3_storage_class]
if @options[:s3_server_side_encryption] && @options[:s3_server_side_encryption] != ''
if @options[:s3_server_side_encryption].blank?
@options[:s3_server_side_encryption] = false
end
if @options[:s3_server_side_encryption]
@s3_headers['x-amz-server-side-encryption'] = @options[:s3_server_side_encryption].to_s.upcase
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment