direct_uploads_controller.rb

activestorage/app/controllers/active_storage/direct_uploads_controller.rb
on GitHub

Last modified: 2017-08-13 12:10:19 +0000

Creates a new blob on the server side in anticipation of a
direct-to-service upload from the client side. When the client-side upload
is completed, the signed_blob_id can be submitted as part of the form to
reference the blob that was created up front.