lib/scribd-carrierwave.rb in scribd-carrierwave-0.0.3 vs lib/scribd-carrierwave.rb in scribd-carrierwave-0.0.4

- old
+ new

@@ -9,10 +9,10 @@ def included(base) base.extend ClassMethods end def upload uploader - args = { file: uploader.current_path, access: 'private' } + args = { file: uploader.url, access: 'private' } scribd_user.upload(args) end def destroy uploader document = scribd_user.find_document(uploader.ipaper_id) rescue nil