lib/cloudinary/carrier_wave/remote.rb in cloudinary-1.0.47 vs lib/cloudinary/carrier_wave/remote.rb in cloudinary-1.0.48
- old
+ new
@@ -1,6 +1,7 @@
module Cloudinary::CarrierWave
def download!(uri)
+ return super if !self.cloudinary_should_handle_remote?
if respond_to?(:process_uri)
uri = process_uri(uri)
else # Backward compatibility with old CarrierWave
uri = URI.parse(URI.escape(URI.unescape(uri)))
end
\ No newline at end of file