lib/carrierwave/storage/fog.rb in carrierwave-1.3.0 vs lib/carrierwave/storage/fog.rb in carrierwave-1.3.1
- old
+ new
@@ -497,10 +497,10 @@
file_body.close
end
end
def url_options_supported?(local_file)
- parameters = file.method(:url).parameters
+ parameters = local_file.method(:url).parameters
parameters.count == 2 && parameters[1].include?(:options)
end
end
end # Fog