lib/scribd-carrierwave.rb in scribd-carrierwave-0.0.5 vs lib/scribd-carrierwave.rb in scribd-carrierwave-0.0.6

- old
+ new

@@ -19,10 +19,10 @@ document = scribd_user.find_document(uploader.ipaper_id) rescue nil document.destroy if !document.nil? end def full_path uploader - if uploader.url =~ /http(s?):\/\// + if uploader.url =~ /^http(s?):\/\// uploader.url else uploader.root + uploader.url end end