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

- old
+ new

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