lib/carrierwave/uploader/download.rb in carrierwave-0.5.1 vs lib/carrierwave/uploader/download.rb in carrierwave-0.5.2
- old
+ new
@@ -52,10 +52,10 @@
#
def download!(uri)
unless uri.blank?
file = RemoteFile.new(uri)
raise CarrierWave::DownloadError, "trying to download a file which is not served over HTTP" unless file.http?
- cache!(file)
+ cache!(file)
end
end
end # Download
end # Uploader